User ID in Cognito
I use AWS API Gateway + AWS Cognito (Federated Identity + User Pool). I'm creating REST API in API Gateway. There are methods for getting users list and for getting user by id. What should I use as user ID? Response should contain te following user data: ID, username, first name, last name etc. Username, first name, last name are stored in User Pool attributes. I see in examples that they use cognitoIdentityId as User ID. If I will use cognitoIdentityId as ID, then how should I get user data by this ID? Please give me an example or link to API reference how to get user data by cognitoIdentityI
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.