Aws Cognito User Authentication Missing Required Parameter Srp_A

AWS Cognito IntitiateAuth: Missing required parameter UserName

It should be in AuthParameters, not ClientMetadata.

I believe the expected values are USERNAME and SRP_A.

Authentication AWS Cognito SRP

Cognito User Pools does not support SRP authentication from .NET SDK. You will not be able to use AuthFlowType.USER_SRP_AUTH with the InitiateAuth API call.

If you want to sign-in using a USERNAME and PASSWORD directly, you can look at the Admin Authentication flow which uses the AdminInitiateAuth API and ADMIN_NO_SRP_AUTH flow.

Unable to verify secret hash for client in Amazon Cognito Userpools

It seems that currently AWS Cognito doesn't handle client secret perfectly. It will work in the near future but as for now it is still a beta version.

For me it is working fine for an app without a client secret but fails for an app with a client secret.

So in your user pool try to create a new app without generating a client secret. Then use that app to signup a new user or to confirm registration.



Related Topics



Leave a reply



Submit