# How to share login across React Web Application and iOS App?

**URL:** <https://community.auth0.com/t/how-to-share-login-across-react-web-application-and-ios-app/117617>\
**Category:** Get Help\
**Tags:** new-universal-login-experience, login-experience\
**Created:** [October 3, 2023, 4:38am UTC](https://community.auth0.com/t/how-to-share-login-across-react-web-application-and-ios-app/117617 "2023-10-03T04:38:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![archie](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/archie/32/42258_2.png) [@archie](https://community.auth0.com/u/archie)\
**Post date:** [October 3, 2023, 4:38am UTC](https://community.auth0.com/t/how-to-share-login-across-react-web-application-and-ios-app/117617/1 "2023-10-03T04:38:46Z")

</div>

We have a React Web Application and React Native Application. We would like to share login across the two apps so that whenever the User logs into the Web, when the user opens the app the same user is now logged into the App as well. We are using Universal login for both React Web App and React Native Apps.

It seems to be that for Android application of the React Native App, this scenario works as universal login tends to redirect universal login to chrome and so sessions are kept. The problem is that the same is not true with iOS App. In iOS, universal login opens Safari Modal and it looks like Safari Modal have a different instance as Safari itself and so the Login session aren’t shared.

Is there a way to workaround this?

---

<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:** [October 18, 2023, 4:10pm UTC](https://community.auth0.com/t/how-to-share-login-across-react-web-application-and-ios-app/117617/3 "2023-10-18T16:10:46Z")

</div>

Hi @archie,

This is generally a limitation of the operating systems, and is explained in more detail here:

> [@Shared session between 2 Auth0 Apps](https://community.auth0.com/t/shared-session-between-2-auth0-apps/118637):
>
> Hi everyone. In my Auth0 tenant I have 2 apps: a Regular Web App and a Native App. Regular Web app refers to a NextJS app (frontend + API backend); while my Native App refers to an Android App I am working on. My native app will have to connect with the Nexjts API backend, where the various endpoints are protected by Auth0. So, what I want to achieve is: I log in to my native app; I retrieve the access token; I use access token as Bearer Token to authenticate to my NextJS App. So, briefl…

Hope this helps!

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 1, 2023, 4:11pm UTC](https://community.auth0.com/t/how-to-share-login-across-react-web-application-and-ios-app/117617/4 "2023-11-01T16:11:44Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
