Skip to content
This repository has been archived by the owner on Apr 1, 2019. It is now read-only.

Error Unable to verify secret hash for client #39

Open
NetPumi2 opened this issue Dec 5, 2017 · 1 comment
Open

Error Unable to verify secret hash for client #39

NetPumi2 opened this issue Dec 5, 2017 · 1 comment

Comments

@NetPumi2
Copy link

NetPumi2 commented Dec 5, 2017

Hi I tried to register user and i will get this error can you describe me what i should to do:
POST https://cognito-idp.eu-west-2.amazonaws.com/ 400 (Bad Request)
ERROR Unable to verify secret hash for client 2###############t

SOLUTION
unchecked Generate client secret
image

@orther
Copy link

orther commented Dec 31, 2017

If anyone is curious, the need to create the app client without client secret is due to the fact that Cognito JavaScript SDK doesn't support client secrets.

This is noted in amazon-cognito-identity-js Configuration section of the README:

  • When creating the App, the generate client secret box must be unchecked because the JavaScript SDK doesn't support apps that have a client secret.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants