I’m using Google Sign-In in my bare React-native app and verifying the user's email through Google OAuth. After verifying the token server-side, I create the user using the node-appwrite SDK. However, even though the email is already verified via Google, the user shows as "Unverified" in the Appwrite Dashboard and requires manual verification.
Request: Please add a way to set emailVerification: true while creating a user via the node-appwrite, since the email is already trusted.
This would greatly help when integrating with third-party OAuth providers like Google or Apple in bare react-native projects, where email verification is already done upstream.
Thank you for your amazing work on Appwrite!
my own one is getting Verified directly
i'm using react-native-appwrite
actually react-native-appwrite is expo based. and that is not working in bare react-native project.
alright if you are doing it server side so i don't see any issues for verifying the account manually using the server
My approach – I use @react-native-google-signin/google-signin in my React Native app to get the Google account idToken, which I then send to my Node.js backend. There, I use google-auth-library to verify whether the idToken actually came from Google. If it's verified, I extract the email ID from the idToken and create a user and JWT in Appwrite using that email. that why it does not getting Verified directly. Then, I send the Appwrite JWT back to the React Native app and store it in AsyncStorage.
Recommended threads
- Need help to create a wrapper which let ...
I’m looking for help setting up Appwrite properly on a VPS so I can build a self-hosting wrapper around it. The goal is to provide a Linux executable that allow...
- redirect uri not working for OAuth with ...
I'm following this tutorial: https://appwrite.io/blog/post/google-oauth-expo#create-an-expo-app but im using an android development build instead. When I run h...
- Cannot use Apple Oauth2 in React Native/...
Hi! I've trying to add the Apple sign in feature into my Expo App. I followed the docs, but I still receiving the error "Cannot set 'location.href'". Can someon...