fix authmethod type
All checks were successful
Build and Publish / build-release (push) Successful in 2m40s
All checks were successful
Build and Publish / build-release (push) Successful in 2m40s
This commit is contained in:
@@ -160,7 +160,7 @@ func (wr *wrappedOIDCAppReconciler) Reconcile(ctx context.Context, ztdClient *cl
|
|||||||
RedirectUris: wr.OIDCApp.Spec.RedirectUris,
|
RedirectUris: wr.OIDCApp.Spec.RedirectUris,
|
||||||
ResponseTypes: responseTypes,
|
ResponseTypes: responseTypes,
|
||||||
GrantTypes: grantTypes,
|
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,
|
PostLogoutRedirectUris: wr.OIDCApp.Spec.PostLogoutRedirectUris,
|
||||||
Version: application.OIDCVersion_OIDC_VERSION_1_0,
|
Version: application.OIDCVersion_OIDC_VERSION_1_0,
|
||||||
DevelopmentMode: wr.OIDCApp.Spec.DevMode,
|
DevelopmentMode: wr.OIDCApp.Spec.DevMode,
|
||||||
@@ -215,7 +215,7 @@ func (wr *wrappedOIDCAppReconciler) Reconcile(ctx context.Context, ztdClient *cl
|
|||||||
RedirectUris: wr.OIDCApp.Spec.RedirectUris,
|
RedirectUris: wr.OIDCApp.Spec.RedirectUris,
|
||||||
ResponseTypes: responseTypes,
|
ResponseTypes: responseTypes,
|
||||||
GrantTypes: grantTypes,
|
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,
|
PostLogoutRedirectUris: wr.OIDCApp.Spec.PostLogoutRedirectUris,
|
||||||
Version: ptr.To(application.OIDCVersion_OIDC_VERSION_1_0),
|
Version: ptr.To(application.OIDCVersion_OIDC_VERSION_1_0),
|
||||||
DevelopmentMode: &wr.OIDCApp.Spec.DevMode,
|
DevelopmentMode: &wr.OIDCApp.Spec.DevMode,
|
||||||
|
|||||||
Reference in New Issue
Block a user