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?
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.
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?