Auth0 Home Blog Docs

Hosted login not working on iPhone

ios
hosted-login-page

#1

Hi, I don’t know why but I can’t get hosted login to work on iOS Safari. The cordova version of my app works perfectly. Here are the screenshots of my customer constantly bouncing back to the initial non-logged-in page. Thanks for your help. My app URL is https://customautosys.com/jusquaere




#2

:wave: @customautosys do they experience this behavior when selecting the Last time you logged in with or even when they sign in? And the application

I was able to test the URL for your application and I get redirected to https://customautosys.com/jusquaere/#/home (seems to be the same thing in the second image (https://auth0-community-s3.s3-us-west-1.amazonaws.com/original/2X/7/724a93cd491cd6e45f43c2f3f38e70307073e209.jpg)). I experience the same on Android. What is the expected behavior? Where are you sending the users after they login? Can you share the code you are using to call the hosted login page?


#3

Hi, thanks for your help! Actually I solved it last night. For everyone’s reference, the solution is to put an extra forward slash after the redirectUri in the authorize call. The bug was caused because Safari was discarding the hash when there is no extra forward slash.