Skip to content
Back

Problem with Google OAuth2

  • 0
  • React Native
  • Auth
Ezequiel Diaz
16 Feb, 2025, 21:36

Hi all! i am using google auth to login to my application but i am having problem using openAuthSessionAsync from expo.

Appwrite returns Error 400, as you can see in the image, but I understand that I am passing the arguments correctly.

I have Google configured in Appwrite as OAuth2 Providers with their App ID, App Secret and URI.

Has anyone ever had this happen to you? Thank you very much!

TL;DR
Developers are experiencing issues with Google OAuth2 authentication in React Native using openAuthSessionAsync from Expo. They are receiving a 400 error from Appwrite despite passing the arguments correctly. One developer suggests checking if the user being tested with has been deleted. React Native's GitHub page provides insights into the issue's current state.
Steven
16 Feb, 2025, 21:41

OAuth2 with React Native is not fully supported. The GitHub comment explains the current state: https://github.com/appwrite/sdk-for-react-native/issues/34#issuecomment-2654940715

Steven
16 Feb, 2025, 21:42

But also, that specific 400 error...did you delete the user you're testing with?

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