Back

Schema Redirect in RN/Expo doesn't work for OAuth

  • 0
  • React Native
  • Auth
  • Cloud
Maufeat
7 Feb, 2025, 21:07

Hello,

I have implemented Google OAuth and Apple OAuth for my expo app. I was switching from Expo Go to expo-dev-client for some packages to be working, though this results into me not being able to login anymore since the redirectUri is now a schema testapp:// and results into a 400 error because the success URL is not valid.

I saw that there was a branch that was merged earlier today but got reverted. https://github.com/appwrite/appwrite/pull/9262 Is there an estimated time or workaround to continue development?

Thanks!

TL;DR
Title: Issue with Schema Redirect in RN/Expo for OAuth Developers implemented Google and Apple OAuth for Expo app, but switching to `expo-dev-client` caused login issues due to redirectUri now being a schema `testapp://`. A merged branch was reverted, causing uncertainty. A quick workaround. Solution: The developer found a workaround swiftly. Will monitor the issue for updates.
Maufeat
7 Feb, 2025, 21:09

Okay, I've found a workaround very quickly. Thanks though, will keep an eye on this issue.

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