Skip to content
Back

OAuth Authentication (Google) For React Native Expo

  • 0
  • React Native
  • Auth
  • Cloud
Sommm
25 Mar, 2025, 20:23

Recently I found out that OAuth was not fully supported in Expo so i tried to hack my way through to implement it until an official fix is released. I am new to React native so I implemented protected routes and login functionality from the appwrite youtube channel, I have attached my implementation (Tried to minimize the app as much as possible for testing). Can anyone please check if the implementation has any bugs which might make this unsecure or crash the app. So far i have tested this and have found nothing wrong (Again I have only a few days worth of react native exposure so I don't know what might possibly cause any problem)

Here is the Repo : https://github.com/SomnathChW/Google-Auth-Appwrite

TL;DR
Developers are struggling to implement OAuth Authentication for Google in React Native Expo due to limitations. A developer shared their implementation on GitHub and asked for feedback on potential security bugs or app crashes. They are new to React Native and seeking assistance. The GitHub repo link is provided for review.
Sommm
25 Mar, 2025, 20:25

Since the redirect was taking me to scheme://localhost, I transferred the redirect handler to a localhost page.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more