Has anyone gotten Replit Auth working Natively with Expo?

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.

1 Like

Welcome @jackiebo! One thing worth checking out is the resources Matt and Replit team have put together around Expo. Link: Replit Docs

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!

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 :partying_face: 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 :blush: