-
Notifications
You must be signed in to change notification settings - Fork 83
Open
Description
When calling user attributes for the cognito aws service for a user that can not be found, the call returns a UserNotFoundException:
aws cognito-idp admin-update-user-attributes --user-pool-id user-pool-id --username user-notfound@gmail --user-attributes Name="custom:authChallenge",Value="test"
An error occurred (UserNotFoundException) when calling the AdminUpdateUserAttributes operation: User does not exist.
But when I am doing the same call to docker container mock, the call returns a NotAuthorizedException:
aws --endpoint http://localhost:9229 cognito-idp admin-update-user-attributes --user-pool-id local_0tj8Jz4s --username user-notfound@gmail --user-attributes Name="custom:authChallenge",Value="test"
An error occurred (NotAuthorizedException) when calling the AdminUpdateUserAttributes operation: User not authorized
arcilli
Metadata
Metadata
Assignees
Labels
No labels