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

Output scopes field even when empty #65

Merged
merged 1 commit into from Oct 26, 2022
Merged

Conversation

JohanWinther
Copy link
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.

Copy link
Collaborator

@maksbotan maksbotan left a comment

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.

None yet

2 participants