oauth2orize
oauth2orize copied to clipboard
Fix error in grant code example
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