When im trying to login with email_passwordless getting this error after submiting email and otp.
when tap on email its opening these window.
after submiting the otp its closing the browser window and getting the error [LoginError: Login failed, SessionId is missing]
Thanks for reaching out about the issue you’re encountering with the email_passwordless login on React Native (iOS). Let’s break down the details:
SDK Details: You’re using Web3Auth’s Plug n Play.
Platform: React Native (iOS)
Error:[LoginError: Login failed, SessionId is missing] after submitting the email and OTP.
From your code snippets, it seems like you’re setting up the login configuration and authentication flow correctly. However, the error indicates there’s a problem with the session establishment after OTP submission.
Here’s a quick checklist and some suggestions that might help:
Redirect URI: Ensure that com.wujie.vanira://auth is correctly set in your Auth0 application settings. The mismatch could lead to session issues.
Domain: Confirm the domain URL used under extraLoginOptions is correct. There might be a minor discrepancy, such as extra punctuation (e.g., extra period at the end).
Session Management: Double-check if there’s any step or code missing related to session handling post-login that might cause the session token or ID not to be received or stored correctly.
Debugging Logs: Since you have logLevel set to ‘debug,’ review the console logs for any clues right before the error appears. That might give more insight into what could be going wrong.
Auth0 Configurations: Confirm all the necessary settings are correctly configured on the Auth0 dashboard, especially related to passwordless authentication.
If you could also share a console screenshot immediately after the error or any additional logs, that might help the support team pinpoint the issue faster.
For now, these adjustments could potentially resolve your problem. If the error persists, the support team will take it from here. Please feel free to let me know if there’s anything else you need!
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.
Hey @praveennayak0215
Can you try building our example and running it on your usual setup to see if you face the same issue?
This is also an app using our PnP react native SDK using Auth0.