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
- How to handle ghost accounts created by ...
Appwrite create the account with the email and send an invitation link with a secret. I am able to accept the invitation and add the account as a member on the ...
- How to get current user account session ...
i am using sveltekit and i'm a bit unclear on how to get the current user's session from the server side. thisi s what i have so far // src/lib/server/appwrite...
- Realtime: Email Verification Not work
There are some issues with real-time updates. For email verification, updates triggered by the console will be checked, but real-time updates are not triggered ...