fix: Omit empty assertion fields in client creds request (#745)

This commit is contained in:
Jonathan Yoder 2025-07-02 08:34:13 -04:00 committed by GitHub
parent 3b0ab8f048
commit 71b7500c62
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -240,6 +240,6 @@ type ClientCredentialsRequest struct {
Scope SpaceDelimitedArray `schema:"scope"`
ClientID string `schema:"client_id"`
ClientSecret string `schema:"client_secret"`
ClientAssertion string `schema:"client_assertion"`
ClientAssertionType string `schema:"client_assertion_type"`
ClientAssertion string `schema:"client_assertion,omitempty"`
ClientAssertionType string `schema:"client_assertion_type,omitempty"`
}