Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Commit

Permalink
fix: Do not omit empty scope list on client grant (#29)
Browse files Browse the repository at this point in the history
The auth0 management requires at least an empty list: https://auth0.com/docs/api/management/v2#!/Client_Grants/post_client_grants
  • Loading branch information
mbelang authored and alexkappa committed Jan 18, 2019
1 parent 900def1 commit 58a4d3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion management/client_grant.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type ClientGrant struct {
// The audience.
Audience *string `json:"audience,omitempty"`

Scope []interface{} `json:"scope,omitempty"`
Scope []interface{} `json:"scope"`
}

func (c *ClientGrant) String() string {
Expand Down

0 comments on commit 58a4d3f

Please sign in to comment.