From 98729359ada23960c140972d54b0f2b689d21aee Mon Sep 17 00:00:00 2001 From: Idleite <102099632+Idleite@users.noreply.github.com> Date: Fri, 3 May 2024 19:43:16 -0400 Subject: [PATCH 1/3] Update external-auth.md --- docs/admin/external-auth.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/external-auth.md b/docs/admin/external-auth.md index 5b6e015fe789f..c7e495e8b98a7 100644 --- a/docs/admin/external-auth.md +++ b/docs/admin/external-auth.md @@ -163,7 +163,7 @@ CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxxxxxx # If self managed, set the Auth URL to your Gitea instance CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitea.com/login/oauth/authorize" ``` - +The Redirect URI for Gitea should be https://coder.company.org/external-auth/gitea/callback ### Self-managed git providers Custom authentication and token URLs should be used for self-managed Git From 5fc7d4b49e0eb5973b6c85a9b1210c3fdeb190de Mon Sep 17 00:00:00 2001 From: Idleite <102099632+Idleite@users.noreply.github.com> Date: Sat, 4 May 2024 11:43:42 -0400 Subject: [PATCH 2/3] Added line before header --- docs/admin/external-auth.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/admin/external-auth.md b/docs/admin/external-auth.md index c7e495e8b98a7..da6d110855de4 100644 --- a/docs/admin/external-auth.md +++ b/docs/admin/external-auth.md @@ -164,6 +164,7 @@ CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxxxxxx CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitea.com/login/oauth/authorize" ``` The Redirect URI for Gitea should be https://coder.company.org/external-auth/gitea/callback + ### Self-managed git providers Custom authentication and token URLs should be used for self-managed Git From 4d4990708198d0c221f4790c92b5284de7c19366 Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 6 May 2024 22:22:08 +0000 Subject: [PATCH 3/3] `make fmt` --- docs/admin/external-auth.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/admin/external-auth.md b/docs/admin/external-auth.md index 7a297f5ba0b17..9165c1c67604c 100644 --- a/docs/admin/external-auth.md +++ b/docs/admin/external-auth.md @@ -163,7 +163,9 @@ CODER_EXTERNAL_AUTH_0_CLIENT_SECRET=xxxxxxx # If self managed, set the Auth URL to your Gitea instance CODER_EXTERNAL_AUTH_0_AUTH_URL="https://gitea.com/login/oauth/authorize" ``` -The Redirect URI for Gitea should be https://coder.company.org/external-auth/gitea/callback + +The Redirect URI for Gitea should be +https://coder.company.org/external-auth/gitea/callback ### Self-managed git providers