I’m working with Web3Auth and the MPC Core Kit Web SDK. I have a question about setting up custom authentication, like using Stytch.
JWT Tokens: I know we need to provide a JWKS endpoint and a JWT verifier ID. But do we also need a JWT token for each user? I’m confused because each user has a different JWT token.
Integrating Stytch: How do I add a third-party service like Stytch for custom authentication? I checked the example codes and only found Google login. I didn’t see any examples for custom auth with the @web3auth/mpc-core-kit library.
Can someone help me understand these two points or point me to some examples ?
Hello @mago , thanks for asking question. welcome!
Yeah you are right, every single user has different jwt token, and there is a field to paste jwt token.
you don’t need to paste the jwt token since it’s optional.
Oh awesome! Thank you that worked. I’ve got last question about the popup window. Do you guys use window.postMessage whenever a user is requesting some sort of oauth credentials ? Can you tell me how that is being done in a nutshell ?