ellaisys / aws-cognito

AWS Cognito package (with MFA Feature) using the AWS SDK for PHP/Laravel
https://ellaisys.github.io/aws-cognito/
MIT License
107 stars 42 forks source link

rror executing "AdminInitiateAuth" on "https://cognito-idp.us-east-1.amazonaws.com"; AWS HTTP error #94

Closed 3htp closed 2 months ago

3htp commented 3 months ago

Describe the bug

Error executing "AdminInitiateAuth" on "https://cognito-idp.us-east-1.amazonaws.com"; AWS HTTP error: Client error: POST https://cognito-idp.us-east-1.amazonaws.com resulted in a 400 Bad Request response: {"type":"NotAuthorizedException","message":"Incorrect username or password."} NotAuthorizedException (client): Incorrect username or password. - {"type":"NotAuthorizedException","message":"Incorrect username or password."}

To Reproduce I'm using laravel 11

Expected behavior Login user

amitdhongde commented 2 months ago

@3htp Thank you for reaching out. Can you share some more information about the issue you are facing? Some implementation or code samples would help.

A sample demo is available at https://github.com/ellaisys/demo_cognito_app

amitdhongde commented 2 months ago

Closing this due to no response