There's new feature in aws cognito to allow user to sign in through external federation identity providers in user pool. I followed the steps given the aws Doc. 1) select identity providers 2) attributes mapping But when I sign up, fb/ Google account ID don't get map in user pool. Can someone give me a proper code to do this. I mean how should I map fb/ Google user sign in programmatically in cognito user pool.
Asked
Active
Viewed 2,088 times
1 Answers
0
Currently, only the Facebook id, Google sub, and Login with Amazon user_id attributes can be mapped to the Amazon Cognito user pools username attribute.
What does your attribute mapping look like?

Rachit Dhall
- 1,601
- 11
- 12
-
so if check other fields(email) it doesn't map? thank you. – Navin Khandeparkar Sep 22 '17 at 05:02
-
It does map, but not to the username attribute. – Rachit Dhall Oct 17 '17 at 21:13
-
@NavinKhandeparkar I've hit a similar problem and posted a question at https://stackoverflow.com/questions/49547452/how-to-use-federation-from-a-user-pool-not-from-an-identity-pool. Are either of you able to answer my question? – mipnw Mar 29 '18 at 21:01