Skip to content

saveToken passes wrong parameter #557

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

Open
jonsaich opened this issue Mar 18, 2019 · 1 comment
Open

saveToken passes wrong parameter #557

jonsaich opened this issue Mar 18, 2019 · 1 comment
Labels

Comments

@jonsaich
Copy link

jonsaich commented Mar 18, 2019

lib/grant-types/authorization-code-grant-type.js
Line 77

The function returns:
return this.saveToken(code.user, client, code.authorizationCode, code.scope);

As per the documentation, code.authorizationCode is never passed, the actual authorization code is passed as code.code .

@expresstechsoftwares
Copy link

This project should closed or another maintainer should be assigned

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants