1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 12:46:18 +01:00
Files
openshift-docs/modules/gitops-disable-dex-using-spec-sso.adoc
2023-10-30 10:13:25 -04:00

27 lines
687 B
Plaintext

// Module is included in the following assemblies:
//
// * configuring-sso-for-argo-cd-using-dex
:_mod-docs-content-type: PROCEDURE
[id="gitops-disable-dex-using-spec-sso_{context}"]
= Enabling or disabling Dex using .spec.sso
You can configure {gitops-title} to use Dex as its SSO authentication provider by setting the `.spec.sso` parameter.
.Procedure
. To enable Dex, set the `.spec.sso.provider: dex` parameter in the YAML resource of the Operator:
+
[source,yaml]
----
...
spec:
sso:
provider: dex
dex:
openShiftOAuth: true
...
----
+
. To disable dex, either remove the `spec.sso` element from the Argo CD custom resource, or specify a different SSO provider.