Skip to content

NotAuthorizedException when calling command for cognito signIn #1

Description

@jairofranchi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions