I am using react native android firebase i want to send email on user email for verification of email of user and after verification the user creates in firebase
The auth definitely has a method to send verification email: https://rnfirebase.io/reference/auth#sendPasswordResetEmail You can simply call this method with the email provided by the user.
Related
I want to un-verify the test email account for checking the email verification feature, Any option in firebase to change email verification to false in console ?
There is no option to change user profile data in the Firebase console.
The simplest way to change this is using the Admin SDK to update the profile.
I am working on small chat app using react native, and on login page i planned to do email with OTP(one time password) verification. but, I searched on google and I didn't find any source for it. Is there any way to implement email with OTP verification on login page.... Thanks in Advance
I'm using firebase as my OTP, whenever I log-in thru my app it always send OTP....can I create a code that can check if the number is already signed in on the console so it won't send OTP again??
Firebase automatically persists and restores the user's credentials when the app is restarted, so you should not have to send an OTP each time.
Check on how to detect the user's authentication state for your platform the first snippet in the documentation for Android, iOS, and Web
I am trying to integrate an email client in my app. I checked the g-mail API
documentation but I was not able to locate any material for react native apps.
Most of the questions I could find were on how to open an email client.
How can I get email data into my app and make my own email client?
(I only need it for gmail)
i have tried to use gmail API but I could not find any third party libraries for this task.
How can I use googleapis into react native?
I'm working on building a mobile / web app and would like to utilize AWS Cognito for authentication.
I wanted to do a Proof Of concept before implementing it completely. As part of that, I have setup a user pool and used Amplify to Signup, SignIn users.
As part of Sign up I was able to verify the user using verification code to either a phone (or) email.
Also as part of Sign In, I received the MFA tokens in my phone/email and validated the MFA before logging in.
My question is, I would like to differentiate email/phone verification methodology(SignUp) vs MFA Token methodology(SignIn).
Is it possible to verify user email via a verification link (SignUp) and utilize token based MFA for SignIn ?
I tried changing the user pool MFA message from code to link. I m getting a verification link in my email, however I m not getting an MFA - because I have used email as my verification method.
Per the documentation, email verification doesn't trigger MFA as part of SignIn.
In your user pool, if you have selected both email and phone as required,phone is given more priority. At the time of sign up and sign in, you are just given a MFA code via sms but not email.
But if you want to use Email for sign up and phone MFA sms code for signing in, please read this-
You need to call 3 methods(GetUser,GetUserAttributeVerificationCode and VerifyUserAttribute) from the AWS SDK to verify the other attribute.
Referfence Article - AWS Docs
Hope it helps.