Skip to content
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

Fix error in grant code example #223

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

esarafianou
Copy link

This PR updates the code sample of README.md regarding granting code. The scope is available only in the areq object, not the ares.

Here's the return object of the request function, which includes the scope: https://github.com/jaredhanson/oauth2orize/blob/master/lib/grant/code.js#L115

@coveralls
Copy link

coveralls commented Apr 1, 2018

Coverage Status

Coverage remained the same at 99.789% when pulling 98b7384 on esarafianou:readme_grantcode into 07b1a31 on jaredhanson:master.

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

Successfully merging this pull request may close these issues.

None yet

2 participants