-
-
Notifications
You must be signed in to change notification settings - Fork 928
fix; correct client ID check in refresh_token grant type #501
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
Conversation
Yep, all the example models use Please can you squash this into a single commit? |
Squashed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This doesn't seem right. In the documentation, the return shape of the Moreover, if one changes the node-oauth2-server/lib/grant-types/authorization-code-grant-type.js Lines 105 to 107 in 4090055
|
I have to agree with @adieuadieu. Looking through the changes again I have no idea why I approved this PR a few months ago.
Since |
My fault, I was unaware that the documentation specified that As mentioned by @thomseddon, the example models use |
I'll back out this change.. Anyone want to tackle updating the examples? If not, i can probably get to it next week.. |
Using refresh_token grant type to get a new access token was not working because of this issue. Client object key was "id" instead of "clientId". As a result, client ID check always failed because undefined was always returned.