Auth0 Home Blog Docs

Invalid state received when authorizing in Safari

passwordless
ios
invalid
state
safari

#1

Hello,

I have an app that authorizes fine in both iOS and Android using a passwordless hosted login page. I run in to problems on iOS if a user clicks on the Safari icon in the lower righthand side of the webview, launching the hosted page in the Safari app. After authenticating, Safari prompts a modal saying "Open in My App. When “open” is clicked, iOS navigates back to the app, but and Invalid state error is thrown and not auth data is received.

Any thoughts?

Thank you!


#2

Hey John,

The sampe problem is here. Could you solve it?

Thanks!