We have an auto-logout feature in our app and when trying to logout the user we have the following error:
Failed to launch ‘URL’ because the scheme does not have a registered handler.
‘org.reactjs.native.example.Atrium://finamic.eu.auth0.com/ios/org.reactjs.native.example.Atrium/callback’ because the scheme does not have a registered handler.
Here’s the code we use to logout the user:
url: window.location.origin //http://localhost:10000
Apologies, I didn’t found proper tags
I know it’s a bit of a different language here but maybe that will do the job:
I believe I was testing this on web so if I test this on real device, it might work. If you want to integrate Auth0 on web, I followed a different example and it worked
Thanks for your reply.
I still have the same issue, here’s what I have in Allowed Callback Url, Allowed Logout Url, and Allowed Web Origin :
http://localhost:10000, http://localhost:10000/front, http://localhost:10000/front/index.html, org.reactjs.native.example.atrium://finamic.eu.auth0.com/ios/org.reactjs.native.example.Atrium/callback
I noticed we have the same issue when the user logs out manually.
Issue solved, I was pointing to another Application which didn’t have the allowed logout url ^^
Wohooo! Glad you have figured it out!
March 13, 2023, 8:54am
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.