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
- Error: User (role: guests) missing scope...
I want to send a verification code to the user and the given phone number and check it and create a session right after the user entered the secret. For me that...
- Apple OAuth Scopes
Hi Hi, I've configured sign in with apple and this is the response i'm getting from apple once i've signed in. I cant find anywhere I set scopes. I remember se...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...