# Mobile Apps and webapps redirects and sessions

**URL:** <https://community.weweb.io/t/mobile-apps-and-webapps-redirects-and-sessions/15247>\
**Category:** Ask us anything\
**Tags:** workflows, authentication, supabase\
**Created:** [January 6, 2025, 5:28pm UTC](https://community.weweb.io/t/mobile-apps-and-webapps-redirects-and-sessions/15247 "2025-01-06T17:28:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Philibert](https://avatars.discourse-cdn.com/v4/letter/p/ee7513/32.png) [@Philibert](https://community.weweb.io/u/Philibert)\
**Post date:** [January 6, 2025, 5:28pm UTC](https://community.weweb.io/t/mobile-apps-and-webapps-redirects-and-sessions/15247/1 "2025-01-06T17:28:30Z")

</div>

Hey there !  
I would like to know if it’s possible to redirect a user from a webapp to an app using his session.  
Here is the thing : I would like to redirect the user from the webapp to the mobile app and keep the user loggedin. Seems not the best practice to do so, so I thought about :  
OR  
In the app, provide SSO-like so the user clicks on a button ‘login’ that opens a webview then once loggedin redirects to the mobile app. (I am thinking deeplinking the redirect URL should be fine ?).

Anyone has dealt with this before ?  
I just want to handle the Authentification flow exclusively on the webapp if possible ! Thanks !

Have a good one !

---

<div class="post-metadata">

**Author:** ![DanielL](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/daniell/32/13398_2.png) [@DanielL](https://community.weweb.io/u/DanielL)\
**Post date:** [January 13, 2025, 2:32pm UTC](https://community.weweb.io/t/mobile-apps-and-webapps-redirects-and-sessions/15247/2 "2025-01-13T14:32:04Z")

</div>

Hi @Philibert

By “mobile app” you mean a PWA WeWeb app or a native app?

---

<div class="post-metadata">

**Author:** ![Philibert](https://avatars.discourse-cdn.com/v4/letter/p/ee7513/32.png) [@Philibert](https://community.weweb.io/u/Philibert)\
**Post date:** [January 14, 2025, 5:42pm UTC](https://community.weweb.io/t/mobile-apps-and-webapps-redirects-and-sessions/15247/3 "2025-01-14T17:42:46Z")

</div>

Hi ! @danlopes I mean a native app (iOS for now)
