constgnap = GnapClient.fromFile('gnap.json'); // loads the key; does not discover conststarted = awaitgnap.requestGrant(); // send the browser to started.redirectUrl constdone = awaitgnap.finishRedirect(query, { allowedIds });
The private key stays in this process. Tokens are key-bound. The browser carries only the
interaction hash.
gnap-caep-risc-nodejs: a server-side GNAP client for a traditional web application.
The private key stays in this process. Tokens are key-bound. The browser carries only the interaction hash.