From d7c2c76973a4c34797f9db162308ee2e7e068c18 Mon Sep 17 00:00:00 2001 From: HaimKortovich Date: Thu, 14 May 2026 17:07:58 -0500 Subject: [PATCH] fix authmethod type --- internal/controller/oidcapp_controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/controller/oidcapp_controller.go b/internal/controller/oidcapp_controller.go index b417c22..189502f 100644 --- a/internal/controller/oidcapp_controller.go +++ b/internal/controller/oidcapp_controller.go @@ -160,7 +160,7 @@ func (wr *wrappedOIDCAppReconciler) Reconcile(ctx context.Context, ztdClient *cl RedirectUris: wr.OIDCApp.Spec.RedirectUris, ResponseTypes: responseTypes, GrantTypes: grantTypes, - AuthMethodType: application.OIDCAuthMethodType(application.OIDCTokenType_value[wr.OIDCApp.Spec.AuthMethodType]), + AuthMethodType: application.OIDCAuthMethodType(application.OIDCAuthMethodType_value[wr.OIDCApp.Spec.AuthMethodType]), PostLogoutRedirectUris: wr.OIDCApp.Spec.PostLogoutRedirectUris, Version: application.OIDCVersion_OIDC_VERSION_1_0, DevelopmentMode: wr.OIDCApp.Spec.DevMode, @@ -215,7 +215,7 @@ func (wr *wrappedOIDCAppReconciler) Reconcile(ctx context.Context, ztdClient *cl RedirectUris: wr.OIDCApp.Spec.RedirectUris, ResponseTypes: responseTypes, GrantTypes: grantTypes, - AuthMethodType: ptr.To(application.OIDCAuthMethodType(application.OIDCTokenType_value[wr.OIDCApp.Spec.AuthMethodType])), + AuthMethodType: ptr.To(application.OIDCAuthMethodType(application.OIDCAuthMethodType_value[wr.OIDCApp.Spec.AuthMethodType])), PostLogoutRedirectUris: wr.OIDCApp.Spec.PostLogoutRedirectUris, Version: ptr.To(application.OIDCVersion_OIDC_VERSION_1_0), DevelopmentMode: &wr.OIDCApp.Spec.DevMode,