From 7df92ad40e9e3c64a6530a3c51ac16b179c47c2a Mon Sep 17 00:00:00 2001 From: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com> Date: Fri, 11 Apr 2025 18:09:00 +0000 Subject: [PATCH] add note wrt disabling github oauth button --- docs/admin/users/github-auth.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/admin/users/github-auth.md b/docs/admin/users/github-auth.md index d895764c44f29..c556c87a2accb 100644 --- a/docs/admin/users/github-auth.md +++ b/docs/admin/users/github-auth.md @@ -41,6 +41,14 @@ own app or set: CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE=false ``` +> [!NOTE] +> After you disable the default GitHub provider with the setting above, the +> **Sign in with GitHub** button might still appear on your login page even though +> the authentication flow is disabled. +> +> To completely hide the GitHub sign-in button, you must both disable the default +> provider and ensure you don't have a custom GitHub OAuth app configured. + ## Step 1: Configure the OAuth application in GitHub First,