Djordje Nikolic
Djordje Nikolic

Reputation: 433

Cognito make username an email google auth

How do I make my cognito user pool username an email with google identity provider.

It is very confusing as well. In attribute mappings it says that google sub is username, but username has a format of "Google_randomnumber"

Please help me how do I assign my own username when doing google auth with cognito user pools?

Upvotes: 3

Views: 1122

Answers (1)

live-love
live-love

Reputation: 52494

I think if you want the real name, you need to join given name and family name. The user name, you need to add an attribute it's Google username.

enter image description here

This is what looks like when you click the User in Users and Groups:

enter image description here

Upvotes: 1

Related Questions