-
Notifications
You must be signed in to change notification settings - Fork 925
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
feat: generate nounce for id_token
response type
#298
Conversation
I have the same issue, anyone found a fix? |
Needs definitely a merge - Auth0 schema is useless without it |
Anyone, who can merge it - please merge! |
Why it is not been merged yet or if any changes required must be updated. |
Anyone else still needs this? 👍 |
I moved away to https://github.com/IdentityModel/oidc-client-js, because I found that the auth-module have very less active contribution happening, and the other is well maintained. |
If I'm reading correctly, this functionality (but from a different PR) is actually included in @nuxtjs/auth v. 4.5.3 The relevant code changes are here: But I'm still wrapping my head around all this, and the code between this PR and that one are distinct enough, that I'm not actually sure if this is fixing the same problem or not. 🤷♂️ |
id_token
response type
Thanks, @jefer590 for this PR and fix. Will be released soon by v4.6.0 (#356) |
This PR has been published in v4.6.0 |
Justification
When I tried to use this module with
id_token
in theresponse_type
using the auth0 strategy this error appeared:Upon further investigation, I read that this
nonce
is required in the request to Auth0 (or maybe Oauth2 as a whole) to mitigate replay attacksReferences
https://openid.net/specs/openid-connect-core-1_0.html#NonceNotes
https://tools.ietf.org/html/draft-ietf-oauth-v2-threatmodel-06#section-4.6.2
https://auth0.com/docs/api-auth/tutorials/nonce