is it possible to use the Auth0 React SDK with the Web3Auth SDK? #901
RoniFinTech
announced in
Help
Replies: 1 comment
-
Hey @RoniFinTech Does If yes, then you can use it with Web3Auth by creating a custom verifier and passing the JWT to web3auth: import { WALLET_ADAPTERS, CHAIN_NAMESPACES } from "@web3auth/base";
await web3auth.connectTo(WALLET_ADAPTERS.OPENLOGIN, {
loginProvider: "jwt",
extraLoginOptions: {
id_token: idToken, // returned by Auth0 from `@auth0/auth0-react`
verifierIdField: "sub", // same as your JWT Verifier ID
},
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Auth0 React has a useful component and I wonder if it's possible to use something similar when integrating Web3Auth and Auth0.
Thanks,
Roni
Beta Was this translation helpful? Give feedback.
All reactions