fix client assertions for Okta

This commit is contained in:
David Sharnoff 2024-08-15 09:36:16 -07:00
parent b6f3b1e65b
commit 05431e2155
2 changed files with 3 additions and 3 deletions

View file

@ -74,8 +74,8 @@ type AccessTokenRequest struct {
ClientID string `schema:"client_id"`
ClientSecret string `schema:"client_secret"`
CodeVerifier string `schema:"code_verifier"`
ClientAssertion string `schema:"client_assertion"`
ClientAssertionType string `schema:"client_assertion_type"`
ClientAssertion string `schema:"client_assertion,omitempty"`
ClientAssertionType string `schema:"client_assertion_type,omitempty"`
}
func (a *AccessTokenRequest) GrantType() GrantType {