jonsaw / amazon-cognito-identity-dart

Unofficial Amazon Cognito Identity Provider Dart SDK, to easily add user sign-up and sign-in to your mobile and web apps with AWS.
MIT License
205 stars 93 forks source link

Unable to verify secret hash for client xxxxxxx #18

Closed nashfive closed 6 years ago

nashfive commented 6 years ago

Hello there! Thanks for putting up this package :) Nice work! I am trying to use it by running the example app, but when I try to sign in (sign-up has already been done via another app), I get a error "Unable to verify secret hash for client xxxxxxx". I don't see a way to specify the app client secret anywhere. Is it the secret that is generated in the AWS Cognito console, under the pool's "App Clients" section ? If yes, how can you make your example app work without it ? I am confused...

nashfive commented 6 years ago

Ok, nevermind... I was generating a app client secret, that is not really useful in the context of a mobile app. https://forums.aws.amazon.com/thread.jspa?messageID=820616