From a65969f2390f48f5d57c58fe351e5348e576347d Mon Sep 17 00:00:00 2001 From: Michael Miguel Alves Date: Thu, 17 Oct 2024 11:47:55 -0300 Subject: [PATCH 1/2] adding CLient template fields --- models.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/models.go b/models.go index a093b233..b4b7369b 100644 --- a/models.go +++ b/models.go @@ -4,8 +4,6 @@ import ( "bytes" "encoding/json" "strings" - - "github.com/golang-jwt/jwt/v5" ) // GetQueryParams converts the struct to map[string]string @@ -463,6 +461,7 @@ type Client struct { BearerOnly *bool `json:"bearerOnly,omitempty"` ClientAuthenticatorType *string `json:"clientAuthenticatorType,omitempty"` ClientID *string `json:"clientId,omitempty"` + ClientTemplate *string `json:"clientTemplate,omitempty"` ConsentRequired *bool `json:"consentRequired,omitempty"` DefaultClientScopes *[]string `json:"defaultClientScopes,omitempty"` DefaultRoles *[]string `json:"defaultRoles,omitempty"` @@ -489,6 +488,9 @@ type Client struct { ServiceAccountsEnabled *bool `json:"serviceAccountsEnabled,omitempty"` StandardFlowEnabled *bool `json:"standardFlowEnabled,omitempty"` SurrogateAuthRequired *bool `json:"surrogateAuthRequired,omitempty"` + UseTemplateConfig *bool `json:"useTemplateConfig,omitempty"` + UseTemplateMappers *bool `json:"useTemplateMappers,omitempty"` + UseTemplateScope *bool `json:"useTemplateScope,omitempty"` WebOrigins *[]string `json:"webOrigins,omitempty"` } From bfabf968846e0fecd138df86654b4414b09d5a01 Mon Sep 17 00:00:00 2001 From: Michael Miguel Alves Date: Thu, 17 Oct 2024 12:04:51 -0300 Subject: [PATCH 2/2] revert removing import --- models.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/models.go b/models.go index b4b7369b..f3c56073 100644 --- a/models.go +++ b/models.go @@ -4,6 +4,8 @@ import ( "bytes" "encoding/json" "strings" + + "github.com/golang-jwt/jwt/v5" ) // GetQueryParams converts the struct to map[string]string