fix: Omit empty assertion fields in client creds request
This commit is contained in:
parent
d6e37fa741
commit
46cabe4af8
1 changed files with 2 additions and 2 deletions
|
@ -240,6 +240,6 @@ type ClientCredentialsRequest struct {
|
||||||
Scope SpaceDelimitedArray `schema:"scope"`
|
Scope SpaceDelimitedArray `schema:"scope"`
|
||||||
ClientID string `schema:"client_id"`
|
ClientID string `schema:"client_id"`
|
||||||
ClientSecret string `schema:"client_secret"`
|
ClientSecret string `schema:"client_secret"`
|
||||||
ClientAssertion string `schema:"client_assertion"`
|
ClientAssertion string `schema:"client_assertion,omitempty"`
|
||||||
ClientAssertionType string `schema:"client_assertion_type"`
|
ClientAssertionType string `schema:"client_assertion_type,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue