docs: add note about sign in with GitHub button should be hidden when flow is disabled (#17367)

Co-authored-by: EdwardAngert <17991901+EdwardAngert@users.noreply.github.com>
This commit is contained in:
Edward Angert
2025-04-14 08:03:25 -04:00
committed by GitHub
parent 1c040edec4
commit 34752fa148

View File

@ -41,6 +41,14 @@ own app or set:
CODER_OAUTH2_GITHUB_DEFAULT_PROVIDER_ENABLE=false 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 ## Step 1: Configure the OAuth application in GitHub
First, First,