-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NotAuthorizedException: SecretHash does not match for the client: xxxxxxxxxxxxxxxxxxx when trying refresh token flow #94
Comments
Hi @TomaszWozniakMosina, Good morning. Please have a look at the code in comment #35 (comment) for guidance. The (Just FYI, I do not see you using Thanks, |
Hi @ashishdhingra I tried use SecretHash computed and not computed with the below method - always get same error.
|
This issue has not received a response in 5 days. If you want to keep this issue open, please just leave a comment below and auto-close will be canceled. |
Describe the bug
Hi,
I had an issue when trying to use RefreshToken flow. I get error:
NotAuthorizedException: SecretHash does not match for the client: xxxxxxxxxxxxxxxxxxx
I tried:
-using secret directly
-using GetSecretHash with userName, userEmail, USerID, User Sub Id
Always the same issue.
I'm trying:
Also tried with the same result:
Please help.
Expected Behavior
Get Refresh Token without error: NotAuthorizedException: SecretHash does not match for the client
Current Behavior
Cannot get Refresh Token, error occurs: NotAuthorizedException: SecretHash does not match for the client
Reproduction Steps
Use this code:
Possible Solution
Please give me information, what is wrong with my code, or maybe there is some bug?
Additional Information/Context
No response
AWS .NET SDK and/or Package version used
Amazon.Extensions.CognitoAuthentication 2.2.1
Unity 2021.3.9f1
Targeted .NET Platform
.Net 4.x
Operating System and version
Windows 11
The text was updated successfully, but these errors were encountered: