From fe0e94ece902f64a8662c1276205a5f3f9acdea7 Mon Sep 17 00:00:00 2001 From: Eric Paulsen Date: Thu, 11 May 2023 11:09:14 -0400 Subject: [PATCH] docs: add docs for disabling email/pass auth (#7494) --- docs/admin/auth.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/admin/auth.md b/docs/admin/auth.md index d50f84d032..234133a04f 100644 --- a/docs/admin/auth.md +++ b/docs/admin/auth.md @@ -197,6 +197,15 @@ CODER_OIDC_SIGN_IN_TEXT="Sign in with Gitea" CODER_OIDC_ICON_URL=https://gitea.io/images/gitea.png ``` +## Disable Built-in Authentication + +To remove email and password login, set the following environment variable on your +Coder deployment: + +```console +CODER_DISABLE_PASSWORD_AUTH=true +``` + ## SCIM (enterprise) Coder supports user provisioning and deprovisioning via SCIM 2.0 with header