- Notifications
You must be signed in to change notification settings - Fork146
Fixes #98: Do not send empty scopes to an auth server#154
Uh oh!
There was an error while loading.Please reload this page.
Conversation
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 think we should let the user have control over the value ofscope
that is sent to the server. Ifscopes
is set to""
or[]
then we should send an empty string (that's whatsanitizeScope()
currently does). Ifscopes
is undefined (not set), then we shouldn't send it at all (that part is what needs to be fixed).
Uh oh!
There was an error while loading.Please reload this page.
Reworked. |
…ulesoft-labs#154)If `scopes` is set to `""` or `[]` then we should send an empty string.If `scopes` is undefined (not set), then we don't send it at all.
Fixes#98