# Single user on native iOS app hittting error with universal login

**URL:** <https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699>\
**Category:** Get Help\
**Tags:** login\
**Created:** [February 4, 2022, 4:04pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699 "2022-02-04T16:04:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![isaac](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/isaac/32/34080_2.png) [@isaac](https://community.auth0.com/u/isaac)\
**Post date:** [February 4, 2022, 4:04pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699/1 "2022-02-04T16:04:11Z")

</div>

Hi Auth0,

We have a single user which is unable to access the universal login page when using our native iOS app. He has attempted to use different browsers as the default browser, cleared local cookies, etc. How do we debug this issue? This is a user who is a customer and I do not have access to their device.

From the auth0 logs it seems he is hitting this problem:  
A user has attempted to access a login page directly. This is not supported unless a “Application Login URI” is set for your application, or a “Tenant Login URI” is set for your tenant. For more information, see: [Configure Default Login Routes](https://auth0.com/docs/universal-login/default-login-url)

However, we’re a native iOS app using the Universal Login page so it doesn’t seem like we should ahve anything to do with either of those URIs…

Please help,

Isaac Sheldon

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 22, 2022, 11:14pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699/3 "2022-02-22T23:14:29Z")

</div>

Hi @isaac,

Welcome to the Auth0 Community!

Is the user initiating login from your application? Or directly in a browser?

We typically see this error when a user has bookmarked the Auth0 login page in their browser, or has saved it in a note or something and is copy/pasting in a browser.

The login should be initiated in your application.

Do you have any other users who are experiencing this? Or other users who are successfully logging in?

---

<div class="post-metadata">

**Author:** ![isaac](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/isaac/32/34080_2.png) [@isaac](https://community.auth0.com/u/isaac)\
**Post date:** [February 22, 2022, 11:32pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699/4 "2022-02-22T23:32:36Z")

</div>

Hi @dan.woda ,

Thanks for the response.

This is happening for only one user, all our other users are able to log in just fine. This user is logging in through our app, not directly through the browser. I didn’t ask about bookmarks, I can ask about that.

We tested change the code to “useEphemeralSession” and it allowed this user to login. However I’m not sure exactly what the behavior change is with that setting so don’t know if we want to keep it set that way. Thoughts?

Isaac

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 23, 2022, 7:02pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699/5 "2022-02-23T19:02:01Z")

</div>

The behavior is described here:

> **[GitHub - auth0/Auth0.swift: Auth0 SDK for Apple platforms](https://github.com/auth0/Auth0.swift#disable-single-sign-on-consent-alert-ios-13--macos)**
>
> Auth0 SDK for Apple platforms. Contribute to auth0/Auth0.swift development by creating an account on GitHub.

Is the user’s phone/application up to date? This could be an issue with an outdated version of the browser/OS.

---

<div class="post-metadata">

**Author:** ![isaac](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/isaac/32/34080_2.png) [@isaac](https://community.auth0.com/u/isaac)\
**Post date:** [February 23, 2022, 9:12pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699/6 "2022-02-23T21:12:37Z")

</div>

The user was on 15.3, so not outdated.

Thanks for the link. While I understand the words, I don’t understand the User Experience impact of not using the shared cookie jar. It seems at this point that our users have to log in all the time and no credentials are stored, or they’re expiring within hours and not refreshing, whereas prior to using ephemeral sessions that was not the case.

I think we’re going to investigate adding a mode where if a user requires using an ephemeral session to make the application work they can enable it and suffer the unfortunate consequences.

Any other thoughts on debugging this further or investigation lines that we should pursue?

Thanks,

Isaac

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [February 23, 2022, 10:43pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699/7 "2022-02-23T22:43:33Z")

</div>

> [@isaac](#):
>
> Any other thoughts on debugging this further or investigation lines that we should pursue?

Issues where a single user/device is impacted are notoriously difficult to debug. Is there any way to get a screen capture of the whole flow? You can DM it to me.

---

<div class="post-metadata">

**Author:** ![dan.woda](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/dan.woda/32/18340_2.png) [@dan.woda](https://community.auth0.com/u/dan.woda)\
**Post date:** [April 8, 2022, 4:41pm UTC](https://community.auth0.com/t/single-user-on-native-ios-app-hittting-error-with-universal-login/77699/8 "2022-04-08T16:41:49Z")

</div>


