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,