From 68e86f881b54dda451c7a479bf2bfcf2b6cd077a Mon Sep 17 00:00:00 2001 From: Yuval Marcus Date: Tue, 30 Apr 2024 17:24:41 -0400 Subject: [PATCH] Add omitempty tags --- pkg/client/rp/relying_party.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/client/rp/relying_party.go b/pkg/client/rp/relying_party.go index ac7f466..31e55c6 100644 --- a/pkg/client/rp/relying_party.go +++ b/pkg/client/rp/relying_party.go @@ -737,8 +737,8 @@ type RefreshTokenRequest struct { Scopes oidc.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"` GrantType oidc.GrantType `schema:"grant_type"` }