Back

[SOLVED] Implementation of Google Login using React Native

  • 0
  • Users
  • Flutter
  • Android
  • Apple
手羽先
1 Aug, 2023, 14:35

I would like to implement Google Login in React Native using AppWrite. I would like to make sure that the implementation is security-compliant. I would like to know if there are any articles or videos that would be helpful! Also, if there are any security considerations that I should be aware of, I'd like to know those as well. Thank you in advance.

TL;DR
The user is looking for a solution to implement Google Login using React Native with AppWrite. They mention trying a github library but haven't had any luck yet. They ask if it's possible to use the library in conjunction with AppWrite. It is suggested to use the @react-native-google-signin/google-signin package and provide a URL to handle authentication. The user asks if they are on the right track and mentions being stuck. Another user confirms they are facing a similar issue and thought AppWrite supported Google sign in. They wonder if it's possible to implement OAuth with AppWrite's REST APIs. Solution: It is not possible
Drake
1 Aug, 2023, 17:42

You won't be able to use the web sdk for OAuth2 because the web sdk tries to call window.location = endpoint to redirect the user to log in, but window.location is read only in RN.

See https://github.com/appwrite/sdk-for-web/issues/41#issuecomment-1345304550

手羽先
2 Aug, 2023, 09:19

Thank you so much!

手羽先
2 Aug, 2023, 09:37

[SOLVED]Implementation of Google Login using React Native

Drake
2 Aug, 2023, 16:12

[SOLVED] Implementation of Google Login using React Native

rayanfer32
13 Nov, 2023, 12:03

I'm kinda stuck in the same boat here, I choose Appwrite boldly thinking it will support Google sign in , for my React native app, is there a possiblity to implement Oauth with the REST API's of appwrite ?

rayanfer32
13 Nov, 2023, 12:21
rayanfer32
13 Nov, 2023, 12:28

Can we use this library in conjuction with appwrite ?

rayanfer32
13 Nov, 2023, 12:28

to fill in the gaps

luispe
16 Nov, 2023, 22:59

Hi @rayanfer32 , did you had any luck with this issue? I'm stuck in a very similiar one

D5
17 Nov, 2023, 00:11

Not sure if that will work, also it's unofficial

rayanfer32
20 Nov, 2023, 10:22

Havent tried anything yet

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