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
- Imagine.dev Auth Error
Be careful! The redirect_uri is not associated with this application. The application might be misconfigured or could be trying to redirect you to a website y...
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...
- Error 400: redirect_uri_mismatch
Hi team, Google OAuth was working fine with our Appwrite Cloud setup until yesterday. We did not change any configuration in Appwrite, Google Cloud, or our cod...