I created an amplify backend using the CLI. I used the manual process to set up the authorization amplify add auth and everything is working except that every time a user logs in they are prompted to verify their e-mail by the Amplify SignUp component
In the Cognito console I can see that their e-mail has been verified and the process of sending the code and entering it works as expected. But if the user signs out and signs back in they receive the prompt again?
I found my answer in the thread of this github issue: https://github.com/aws-amplify/amplify-js/issues/2730#issuecomment-468005207
During the configuration when I chose the read attributes I did not select the "Email Verified?" attribute. Since it couldn't be read it came back falsey and so amplifies SignUp component prompts the user to verify every time.
How can I change the support email in my Firebase project under
Settings > Your project > Public settings > Support email?
That setting doesn't show for all project it seems. But when I found it, hovering over the ? says:
This will be the email address presented to users when they are authenticating with Google. It can be changed to your signed-in email or an email of a Google Group managed by you.
So it looks like you'll need to:
Create an email or google group (possibly on your own domain).
Add it as a collaborator.
Sign in as that collaborator.
Select that email address.
Step 3 might not be needed, since I can also see the email addresses of team mates in my test project.
To change the support email, the email you want to use needs to be a member of your Firebase project.
If you need to add a member, you can select the Add member option.
In case you want to use a custom domain, you might have to create a new Google account for that email upon accepting the invitation confirmation email.
This will automatically redirect you to the Firebase Console with the new member signed in, but you can also select the email from another member's account.
All steps in a row:
Add a member (with your desired email) to your Firebase project (if you already have that, skip to 4).
Accept the Firebase invitation (an email confirmation will be sent to the desired email address)
Create a Google account for that email (this is an automated process and if that has already been done, you will automatically be redirected to the Firebase Console)
Select the desired email as support email in the General settings tab in the Firebase Console using any member's account with sufficient permission.
If you're okay with a Google Groups email there, it's much easier to set up:
Go to Google Groups and create a new group there, with you as an owner.
Refresh that page and choose the group.
That's it, and there's no need to create or change your account.
I faced the same problem. I bought a domain name and I want to change the noreply#your-project.firebaseapp.com for noreply#my-domain.com. I followed the next intuitives steps:
Go to "Authentification" > "Models" > "Email validation" (sorry my firebase service is in french):
Click on the pencil
Click on "personnalize the domain"
And then I just followed steps indicated (enter your domain, add DNS entries in your domain service)
A message at the end will appears and say something like "48 hours may be required to validate your domain".
Ok, let's wait. After 48 hours of waiting, nothing has changed, I still can't custom the email address.
I finally found a solution. Go to "Connection mode":
At the bottom of the page, click on "Add a domain" and add your domain (this was the missing step).
Now you can go back to "Authentification" > "Models" > "Email validation" and change the initial firebaseapp email !
Hope that helps.
The only thing that worked for me:
Add collaborator as OWNER
From the new collaborator account go to project settings/general and change the support email
Go to the original account and change the collaborator account to Viewer or whatever (the support email will remain)
1- Create an email or google group (possibly on your own domain).
2- Add it as a owner to Firebase project.
3- Sign in as that owner.
4- Select that email address.
Sample image for No.2
Sample image for No.3
GCP need to login with same user
If you are trying to use group email from gsuite in Firebase support, you must be the group owner, and do not need that group email address on any IAM role.
This question already has answers here:
Firebase authentication email customisation
(4 answers)
Closed 4 years ago.
The community reviewed whether to reopen this question 1 year ago and left it closed:
Original close reason(s) were not resolved
Firebase supports password-less email logins. A user provides their email, and then Firebase emails them a login link.
https://firebase.google.com/docs/auth/web/email-link-auth
However, I don't see any way to change the email text. This is the default:
Sign in to project-XXXX
Hello,
We received a request to sign in to project-XXXX using this email address. If you want to sign in with your XXXX#XXXX.com account, click this link:
Sign in to project-XXXX
If you did not request this link, you can safely ignore this email.
Thanks,
Your project-XXXX team
The Authentication > Templates section of Firebase Console only shows the following options. None of them match the text above:
You cannot, Firebase prevent this in order to avoid being used for spam. If you want to change the email, you need to handle the flow by yourself.
More info/references:
https://stackoverflow.com/a/50077575/5869296
The way Firebase has the message content locked down makes sense to me (I am currently using the Firebase email/password authentication) -or I should say, makes sense for at least specifically for the password reset message.
For the email confirmation message, as #Kayce pointed out, user has to be logged in. I can only imagine that there was some security/spam concern that Firebase folks thought of that I cannot come up with.
If customization was allowed for password reset messages, anyone with an email list that they want to spam can write a simple app, customize the message to whatever they want and have Firebase send that message to any email address that they want to spam (but I understand the question was about email verification emails).
Strangely, they do allow edits of the password reset emails.
my app firstly only contains google login and now I removed it and now users need to login using email and password but when my old customer (who already login with google) unable to signup with old email address it showing "The email address is already in use by another account." and they don't have any password? How to solve this issue
problem solved by implementing this.afAuth.auth.sendPasswordResetEmail(this.email).catch(error=>{}).then(res=>{});
We have an ASP.NET application where we need user's email in order to further send them transactional email. We have added Twitter Signup but not getting email address along with access_token.
We have checked twitter documentation and their FAQs for the same but have had no luck so far. The FAQ says that we need to ask for user's email in as a distinct act:
recently I came to a website http://medium.com which asks for email while authentication in it's scope, please refer to the image below:
I'm not sure how do I add email scope to my twitter application. Any help is highly appreciated!
It is not possible to get user's email address from twitter.
This can be made possible by filling out a form to request elevated permissions:
Go to https://support.twitter.com/forms/platform
Select "I need access to special permissions"
Enter Application Name and ID. These can be obtained via
https://apps.twitter.com/ -- the application ID is the numeric part
in the browser's address bar after you click your app.
Permissions Request: "Email address" Submit & wait for response