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

Add support to encode multiple scopes on all grant types #256

Merged
merged 2 commits into from
Sep 24, 2019

Conversation

jonathansamines
Copy link
Collaborator

  • Add support to encode multiple scopes on all grant types
  • Add support to to override the grant_type parameter name
  • Don't mutate params provided to grants token requests

@jonathansamines jonathansamines added this to the 3.0.0 milestone Sep 24, 2019
@jonathansamines jonathansamines added the v3 Version 3 label Sep 24, 2019
@koistya
Copy link

koistya commented Apr 9, 2021

Setting a custom grant_type doesn't seem to work:

Error: The content-type is not JSON compatible
    at finish (.yarn/cache/@hapi-wreck-npm-17.1.0-bed654125d-ea3fd37926.zip/node_modules/@hapi/wreck/lib/index.js:383:42)
    at wrapped (.yarn/cache/@hapi-hoek-npm-9.1.1-9cb487d073-e5be371c57.zip/node_modules/@hapi/hoek/lib/once.js:17:13)
    at module.exports.internals.Recorder.onReaderFinish (.yarn/cache/@hapi-wreck-npm-17.1.0-bed654125d-ea3fd37926.zip/node_modules/@hapi/wreck/lib/index.js:436:20)
    at Object.onceWrapper (events.js:421:28)
    at module.exports.internals.Recorder.emit (events.js:327:22)
    at finish (internal/streams/writable.js:657:10)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)

@jonathansamines
Copy link
Collaborator Author

Hi @koistya Please open a new issue with an isolated reproduction example of your problem.

@lelylan lelylan locked as resolved and limited conversation to collaborators Apr 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
v3 Version 3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants