- Más nuevo
- Más votos
- Más comentarios
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?
Contenido relevante
- OFICIAL DE AWSActualizada hace 4 años
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 2 años
- OFICIAL DE AWSActualizada hace 6 meses