[thomas.g (accepted answer)] 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.

Context: Stack Overflow #37438879 (accepted answer, 231 votes, 24 answers): I am stuck at "Amazon Cognito Identity user pools" process. I tried all possible codes for authenticating user in cognito userpools. But I always get error saying "Error: Unable to verify secret hash for client 4b*******fd". Here is code: ``` AWS.config.region = 'us-east-1'; // Region AWS.config.credentials [your value] AWS.CognitoIdentityCredentials({ IdentityPoolId: 'us-east-1:b64bb629-ec73-4569-91eb-0d950f854f4f' }); AWSCognito.config.region = 'us-east-1'; AWSCognito.config.credentials [your value] AWS.CognitoIdentityCredentials({ IdentityPoolId: 'us-east-1:b6b629-er73-9969-91eb-0dfffff445d'

## Matched source
Source: Published skill
Original query: "Unable to verify secret hash for client in Amazon Cognito Userpools"
Key terms: amazon, client, cognito, hash, secret, unable, userpools, verify
