# Has anyone gotten Replit Auth working Natively with Expo?

**URL:** <https://replit.discourse.group/t/has-anyone-gotten-replit-auth-working-natively-with-expo/5717>\
**Category:** Agent & Assistant\
**Tags:** how-to\
**Created:** [June 26, 2025, 6:11pm UTC](https://replit.discourse.group/t/has-anyone-gotten-replit-auth-working-natively-with-expo/5717 "2025-06-26T18:11:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jackiebo](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/jackiebo/32/1521_2.png) [@jackiebo](https://replit.discourse.group/u/jackiebo)\
**Post date:** [June 26, 2025, 6:11pm UTC](https://replit.discourse.group/t/has-anyone-gotten-replit-auth-working-natively-with-expo/5717/1 "2025-06-26T18:11:40Z")

</div>

I’m using Assistant and the Expo template. It correctly integrated auth in the webview, but I keep getting errors on the native app, and I’d love to give Assistant some better guidance on what it needs to do to make the auth flow work?

It seems to not have an idea of how to get the token from the authentication web view.

---

<div class="post-metadata">

**Author:** ![mark](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/mark/32/196_2.png) [@mark](https://replit.discourse.group/u/mark)\
**Post date:** [June 27, 2025, 3:52pm UTC](https://replit.discourse.group/t/has-anyone-gotten-replit-auth-working-natively-with-expo/5717/2 "2025-06-27T15:52:24Z")

</div>

Welcome @jackiebo! One thing worth checking out is the resources Matt and Replit team have put together around Expo. Link: [Replit Docs](https://docs.replit.com/tutorials/expo-on-replit#building-mobile-apps-with-expo-and-replit)

To that end, in my experience when working with auth, including Replit Auth, you’ll likely have some good luck with Assistant (and Agent when you need some heavy power) by giving it very specific instruction, and error messages for sure.

If you give Agent/Assistant the exact error messages and give great detail around what you are trying to do (including links to docs from Replit or Expo or others) it usually can figure it out!

---

<div class="post-metadata">

**Author:** ![Gipity-Steve](https://yyz2.discourse-cdn.com/flex010/user_avatar/replit.discourse.group/gipity-steve/32/1431_2.png) [@Gipity-Steve](https://replit.discourse.group/u/Gipity-Steve)\
**Post date:** [June 30, 2025, 7:57am UTC](https://replit.discourse.group/t/has-anyone-gotten-replit-auth-working-natively-with-expo/5717/3 "2025-06-30T07:57:35Z")

</div>

Hi @jackiebo and @mark. In all honesty, Expo is a disaster when paired with Assistant. I dumped them a few weeks ago after blowing a lot of credits and hair on my head trying to make it work.

Expo is a hiding to nothing, and Assistant is simply unable to make it really sing and dance beyond the basic cat photo app Replit use to show off this terrible tech stack. Do not go down that road!

I have actually found a new way to build native apps inside Replit, with Agent! I have an Android and iOS app on my phone in front of me right now, integrated with camera, mic, and more device specific stuff, as well as a backend server within the same app connected to Supabase DB and user auth. And all built via Replit Agent 🥳 Probably a world first - and no other platform (Replit competitor) seems to have figured it either!!

However, forgive me for not announcing how I’ve done it just now, as I am perfecting the workflow. Watch this space! I am very close, a few weeks or so and all will be revealed 😊
