Replies: 3 comments 14 replies
-
const jwks = jose.createRemoteJWKSet( try { console.log(jwtDecoded); ERROR: Reproduceble in here: |
Beta Was this translation helpful? Give feedback.
-
ID TOKEN: |
Beta Was this translation helpful? Give feedback.
-
Below code would be running at your backend (Node): import * as jose from "jose"
// Get the JWK set used to sign the JWT issued by Web3Auth
const jwks = jose.createRemoteJWKSet(new URL("https://api.openlogin.com/jwks"));
// Verify the JWT using Web3Auth's JWKS
const jwtDecoded = await jose.jwtVerify(idToken, jwks, { algorithms: ["ES256"] }); |
Beta Was this translation helpful? Give feedback.
-
Using Server Side Verification codes from https://web3auth.io/docs/server-side-verification/social-login-users
Asked by
Hayri Calboru
on Telegram Developer GroupBeta Was this translation helpful? Give feedback.
All reactions