Skip to content

Output scopes field even when empty#65

Merged
maksbotan merged 1 commit into
biocad:masterfrom
JohanWinther:master
Oct 26, 2022
Merged

Output scopes field even when empty#65
maksbotan merged 1 commit into
biocad:masterfrom
JohanWinther:master

Conversation

@JohanWinther

Copy link
Copy Markdown
Contributor

Currently, setting the OAuth2 scopes to an empty map omits the field scopes from the flow object. However, according to this guide the scopes field should contain an empty object {} when the map is empty (which it MAY be according to the spec).

This PR fixes this issue so that the scopes field is always present even when empty.

@maksbotan maksbotan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for the catch!

@maksbotan maksbotan merged commit 8285df8 into biocad:master Oct 26, 2022
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.

2 participants