Unable to verify jwt token with email_passwordless login (custom authentication)

I'm having trouble verifying authentication with email_passwordless (custom authentication). In my verifier I am loading my client ID and domain from auth0 correctly, but when the authentication process finishes I get this error:

Could not get result from torus nodes Error occurred while verifying paramsunable to verify jwt token, [failed to verify jws signature: failed to verify message: crypto/rsa: verification error failed to verify jws signature: failed to verify message: crypto/rsa: verification error]

What would be the correct way to verify authentication with email_passwordless?



Originally posted by: NicoBeskar

Check the discussion at: https://github.com/orgs/Web3Auth/discussions/514

Hey @NicoBeskar

Can you share the code snippet of initialisation and login?

Also, have you looked into Auth0 Guide? It might help you know how the login works and with the code snippets.



Originally posted by: shahbaz17