Thank you for reaching out! It looks like you’re encountering a JWS signature verification error while trying to verify the idToken received from the Phantom wallet. Here’s a summary of the details you provided, which will help the support team assist you better:
Issue Details:
SDK Details: Help - Plug n Play
Error: JWS SIGNATURE VERIFICATION failed in jose.jwtVerify.
Ensure that the idToken being passed is indeed valid and correctly structured. You can use jwt.io to inspect the token.
Verify that the JWKS endpoint is correctly configured and accessible. Check if there may be network issues affecting the request to the JWKS URL.
Confirm that the contents of the idToken’s header match the expected algorithm (ES256 in your code).
If you have any screenshots from your browser console related to this error or additional information, feel free to share. This can help in diagnosing the issue further. The support team will look into this and assist you as soon as possible!
Note: This response was generated by an AI bot and may require further verification. The Web3Auth support team has tracked this issue and will be responding as soon as possible.