-
Notifications
You must be signed in to change notification settings - Fork 694
disableNonceCheck always leads to an error #1210
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
Comments
Running into the same problem. @ssaip do you have any workaround for this issue? |
@jeroenheijmans any update on this? I think it is a clear bug because setting "disableNonceCheck" will skip the session-state-storage and code-to-token-exchange and always Promise.reject |
Nope, no update from me personally. I currently mostly moderate issues and answer questions when I can do so from my knowledge. Judging (at a glance) based on the above comments, folks have found fixes and workarounds, so at first sight I can remove the "needs investigation" tag to label things a bit more appropriately. Note that in general the library's development is not super active, so rolling with a fork that has a fix might be an option depending on your case. Hope that helps! |
disableNonceCheck always leads to an error #1210
Thanks for pointing this out. will be fixed in the next version. |
on version 13.0.1
Current behavior
Passing
{ disableNonceCheck: true }
to tryLoginCodeFlow (or other calling methods) will always result in Promise.reject()The method is as following:
therefore, it will always result in an error.
Expected behavior
code should probably be something like:
The text was updated successfully, but these errors were encountered: