- 新しい順
- 投票が多い順
- コメントが多い順
AWS Cognito doesn't have a direct method to retrieve user information using the user ID. The workarounds include using the ListUsers
method with a filter for the specific user ID, or the GetUser
method with an Access Token.
https://docs.aws.amazon.com/cognito/latest/developerguide/how-to-manage-user-accounts.html
Hello, can you describe what you're looking to achieve in a little more detail? It sounds like you want to store only the the sub
attribute for a user, and then be able to query their full details using that identifier. The sub
attribute is the unique identifier for each user.
This should be achievable using the ListUsers
API together with the sub
as a filter.
You describe this in your question, is there a reason this approach isn't sufficient?
関連するコンテンツ
- AWS公式更新しました 6ヶ月前
- AWS公式更新しました 2年前