Create a Cognito Test User


Hi, I’ve just tried from another machine and I get the same error.


Hi, this was my fault. I think I checked by mistake the “generate client secret” option when creating the user pool. I’ve created a new user pool without it and it works perfectly. Thanks!!


Oh good. Glad you figure it out. Thanks for reporting back.


hey there! I’m getting this error when trying to confirm user signup

An error occurred (AccessDeniedException) when calling the AdminConfirmSignUp operation: User: ‘user arn’ is not authorized to perform: cognito-idp:AdminConfirmSignUp on resource: ‘resource arn’

also to be noted that the displayed user arn is not the same as the user that’s set up with aws configure command.
Could it be due to path variables for a different account in my .zshrc file?
export AWS_ACCESS_KEY_ID=“id”
export AWS_SECRET_ACCESS_KEY=“secret_key”


Oh that does sound like it is using the wrong user.