From 9bab044e1fcf1be3c5644d7629d52715ceb59045 Mon Sep 17 00:00:00 2001 From: Eric Date: Thu, 11 May 2023 14:30:35 +0000 Subject: [PATCH] docs: add docs for disabling email/pass auth --- docs/admin/auth.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/admin/auth.md b/docs/admin/auth.md index d50f84d03240f..234133a04f3ad 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