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
- Bug: TOTP MFA verification always fails ...
*Bug: TOTP MFA verify always returns `user_invalid_token` (Cloud 1.8.1, Frankfurt)** Project ID: `68dd48440003e537d849` SDK: `appwrite@18.2.0` (also tested wit...
- User Filter/Sorting/Analytics
Currently the dashboard for users is very limited. I would like to have an option to sort by column and also to filter by column, to for example find users that...
- Unable to verify user through console du...
Hi, I am manually trying to verify a user through the console, but it is coming back with Server Error and not much detail