Auth0 'no id token found' / "Failed Exchange" on sapphire_devnet

Hi,

I am using the quickstart from Web3Auth/web3auth-core-kit-examples/single-factor-auth-web/sfa-web-auth0-example. I have replaced the clientId, and setup the tenant in Auth0 dashboard. When I click the login button, the popup opens and closes instantly with the message ‘No id token found’. I use “google-oauth2” instead of “github” as in the quickstart example.

Reading the Auth0 logs I see this error:

Demo works well with supplied ids but replacing them and deploying to sapphire_devnet instead of mainnet causes the issue.

Verifier name: auth0-project-test

Below is my Auth0 config.

And my Web3Auth config for the Custom Verifier.

Hi Benoit,

Thank you for reaching out! I see you’re having an issue with the Auth0 popup closing unexpectedly. Let’s gather the relevant information for the support team to assist you better.

SDK Details:

  • SDK: Single Factor Auth Web SDK

Issue Details:

  • Error: ‘no id token found’
  • Platform: sapphire_devnet
  • Steps Taken: Used the quickstart example from Web3Auth’s repository and replaced the clientId, along with setting up the tenant in the Auth0 dashboard.

To help resolve the issue, could you provide the following additional information?

  1. Web3Auth Initialization & Login Code Snippets: If you can share your initialization and login code, that would be helpful.
  2. Browser Console Screenshots: Any screenshots showing errors in the console could give us more insight into the problem.
  3. Verifier Name: Since you mentioned you’re using Auth0, please confirm the verifier name you configured.
  4. Method of Login: Are you using the default login or any custom method?
  5. Custom Authentication: If you are using your own authentication:
    • JWKS Endpoint
    • Sample idToken (JWT)

Feel free to share any relevant links or images as well, and we’ll do our best to assist you further!

Looking forward to your response!

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.

By the way; my config works using the PnP quickstart guide in Learn how to use Auth0 with Web3Auth | Web3Auth

It is an issue zith the SFA quickstart.

Hey @benoit.marcot

Please share the initialization and login code snippets along with the Web3Auth SDK version.

We moved to PnP. You can close this ticket.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.