We want use google one tap authentication in react native project using Appwrite. But encountering different challenges along the way.
Method 1 with the react-native-appwrite-oauth library initiates OAuth sign-in, but it lacks the ability to retrieve a list of logged-in Google accounts for one-tap login.(Attaching a video for reference)
Method 2, utilizing the react-native-google-signin library, allows successful Google account login and token retrieval, but integrating this with Appwrite's authentication and session management remains unclear.
Method 3, using the Appwrite SDK for React Native, generates an OAuth2 session URL, but encountering issues when attempting to open it in a WebView or browser. ( https://github.com/appwrite/sdk-for-react-native/blob/main/docs/examples/account/create-o-auth2session.md): ref link after createOAuth2Session => https://cloud.appwrite.io/v1/account/sessions/oauth2/google/?project=[projectId]
Could you provide guidance on the correct approach to seamlessly integrate Google One Tap authentication with Appwrite in a React Native project, ensuring smooth session management and authentication flow? We're looking for a solution that combines the benefits of one-tap login with Appwrite's authentication system.
please let us know correct way to integrate with appwrite in react native project ,
Facing same issue
On appwrite cloud?
not using appwrite cloud with appwrite client sdk
Recommended threads
- Running into a server error on my self-h...
Hey everyone, I'm running into a server error on my self-hosted setup after updating to v1.19.0. The issue only happens during user creation and deletion. Ever...
- Magic Link token automatically consumed
Hi, I'm using the Magic Link auth system with Appwrite Cloud and I'm running into huge issues getting users to log in successfully. About 9 times out of 10, th...
- Auth broken after update from 1.8.0 to 1...
So ive been having issues creating, deleting or updating users on my appwrite instance after i updated from 1.8.0 to version 1.9.0. When trying to create a user...