- Newest
- Most votes
- Most comments
Hello Renato,
Thank you for chatting in.
Over the chat we discussed that you were seeing this error when calling Auth.SignIn from your project : USER_SRP_AUTH is not enabled for the client. This error occurs when the App Client does not have USER_SRP_AUTH enabled. Cognito supports a set of authentication flows for logging the user in and Amplify internally uses USER_SRP_AUTH. Therefore, when using the sign-in API call of Amplify, it is required to enable this for the app client. This can be done using Cognito user pool console --> App Client --> Show Details --> Check the box against USER_SRP_AUTH and save it. We tested it out and it worked fine. You can read more about the auth flows from here - [1]
[1] https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-authentication-flow.html#amazon-cognito-user-pools-custom-authentication-flow
[2] https://aws-amplify.github.io/docs/js/authentication#manual-setup
[3] https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html
Relevant content
- asked 6 months ago
- Accepted Answerasked a year ago
- asked 7 months ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 6 months ago
- How do I get notified when the certificate associated to the Client VPN endpoint is about to expire?AWS OFFICIALUpdated 5 months ago
- AWS OFFICIALUpdated 2 years ago
Hi @renatospaka have you get any solution for this ?