Email passwordless with modal sdk CORS

  • SDK Version(package.json): 8.5.0
  • Platform: all

My question is: is it possible to use passwordless auth0 with the Modal SDK? Or should I use the no-modal SDK ? If so it should be clearly stated in the docs

Do we have an example snippet of this feature?

 loginConfig: {
    email_passwordless: {
      verifier: "test-passwordless-demo",
      typeOfLogin: "passwordless",
      name: "email_passwordless",
      jwtParameters: {
        domain: "https://dev-81kuqgv7.us.auth0.com",
        client_id: "IhD86cwtKjPioGpyEptOnKCvvfRhWQPx",
        verifierIdField: "name",
        isVerifierIdCaseSensitive: false,
      },
      clientId: WEBAUTH_API_KEY,
      showOnModal: true,
      showOnSocialBackupFactor: false,
    },
}
  • Browser Console Screenshots:





Hi @bastien,

Yes, you can utilize auth0 Passwordless in the no modal PnP SDK. Here is a guide to assist you in configuring it → Getting Started with Web3Auth and Auth0 | Web3Auth

Find the code here → web3auth-pnp-examples/web-no-modal-sdk/custom-authentication/single-verifier-examples/auth0-no-modal-example at main · Web3Auth/web3auth-pnp-examples · GitHub

I hope this can help you. If not, feel free to return to this thread.

I just want to make sure, it will NOT work on the MODAL SDK, can you confirm that?

I’m pretty sure that you can’t use auth email password less with modal but Let me verify it and get back to you.

Hello @TomTom, following back on this. Any updates?

Regards

it’s not possible to use Auth0 passwordless in Modal SDK.