-
Notifications
You must be signed in to change notification settings - Fork 291
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 scope encoding in token requests #187
Fix scope encoding in token requests #187
Conversation
...to make it easier to add new tests with different request bodies
The `scope` parameter is not used for the Authorization Code grant. See [RFC 6749 § 4.1.3][spec]. [spec]: https://tools.ietf.org/html/rfc6749#section-4.1.3
@@ -1,7 +1,8 @@ | |||
{ | |||
"rules": { | |||
"max-len": "off", | |||
"object-curly-newline": "off" | |||
"object-curly-newline": "off", | |||
"func-names": "off" |
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.
I modified a few tests to write shared values to this
and removed arrow function literals to do this.
The use of arrow function literals is explicitly discouraged by mocha
, but I'm happy to switch the tests back to using block-scoped variables and arrow literals if preferred.
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.
Hi @cjlarose Sorry for the delay, please revert the mocha test changes related to the arrow functions usage. I am aware of what mocha suggests and open to changes, however in order to make your change easier to merge right now, I need you to restore those changes.
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.
Will do! 👍
Hi, when this PR will be merged? |
@jonathansamines Anything I can do to help move this PR along? |
Resolved by #200 |
Fixes #186