Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NotAuthorizedException when calling command for cognito signIn #1

Open
jairofranchi opened this issue Apr 2, 2018 · 0 comments
Open

Comments

@jairofranchi
Copy link

When I call this command aws cognito-idp admin-initiate-auth --cli-input-json file://CognitoUserPool/signIn.json I get the message below.

I already changed the file signIn.json and created a App Client for User Pool.

An error occurred (NotAuthorizedException) when calling the AdminInitiateAuth operation: Unable to verify secret hash for client 74jdrobmasoi0m2i1je8vhrij6

This is how is my json signIn.json:

{ "AuthFlow": "ADMIN_NO_SRP_AUTH", "AuthParameters": { "USERNAME": "jairo", "PASSWORD": "Honda@123" }, "ClientId": "74jdrobmasoi0m2i1je8vhrij6", "UserPoolId": "us-east-1_ZQoyxbBkE" }

What I am doing wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant