I setup my mobile app for universal authentication (React Native) and when the hosted page pops up in a web view on iOS I get “Something went wrong. Please contact technical support.”
I followed the steps in the quickstart and am not sure what’s going on, any help would be appreciated.
On the example above, you can see that the page is stating that http://localhost:3000/callback is not in the list of allowed callback URLs. In that case, I would have to evaluate what I have done wrong (perhaps I forgot to add this URL to the Auth0 Application page, or perhaps I mistakenly configured the Auth0 library in my app).
If the page is not that clear, it will probably add some info on the Technical Details section on the bottom.
One interesting note is that I’m using passwordless. If I disable the passwordless (email) connection for this app and instead use the default database connection that was pre-configured at sign-up, then the page loads and I can put in an email/password. It’s only failing when I try passwordless.
I checked the Logs under Advanced Features and there was nothing there.
Hi @bruno.krebs - Any word from the customer support team? I can’t get the passwordless view to load. I even tried deleting the native app and creating a new one. Perhaps something is wrong with the account?
Let me know if you had a chance to try what @adb suggested. I just started following this thread so if that won’t work I’ll discuss it with one of our developer support engineers!
I think the localhost callback is for SPAs/Regular Web Apps.
@konrad.sopala - Yes would really appreciate some help here to debug this, I’m out of avenues here and will need to go look for another solution if I can’t get past this. Much appreciated!
I just read the whole thread. From your description it seems like there is a problem with passwordless configuration as you’ve stated that you followed all the steps thoroughly in react native quickstart. Are you sure that you’ve followed also all the steps in the right way for passwordless?
Can I also ask you to send me the screenshots of the whole flow so I can track at which stage do you actually get that error?
Ok figured it out. For passwordless to work I had to do this:
2. Configure your login page
Next, configure your login page. Head over to the Hosted Pages section of your Dashboard. At the top of your the code editor, click the menu entitled Default Templates and pick Lock (Passwordless) from the list.
Before this step I had to click customize, then in the dropdown i selected the Lock (Passwordless). Also had to click save. Then the page loaded.
The instructions are broken for iOS or Android, but not one for React Native (which requires you to do some steps from both sections). I’d advise putting together a section for passwordless setup with React Native to make it easy, that wasn’t too hard to miss and with the mobile safari there was no way to debug this and there weren’t any logs in the web admin panel.
Anyways, it looks like I’m set now, thanks for pointing me to that area of docs @konrad.sopala!