From 0cfb95febda20b50857c334d7f75164f122f06b4 Mon Sep 17 00:00:00 2001 From: Marley <55280588+marleypowell@users.noreply.github.com> Date: Fri, 31 Mar 2023 14:26:46 +0100 Subject: [PATCH 1/5] added additional documentation for azure devops git provider --- docs/admin/git-providers.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/docs/admin/git-providers.md b/docs/admin/git-providers.md index 2ab4cac133271..edff682958856 100644 --- a/docs/admin/git-providers.md +++ b/docs/admin/git-providers.md @@ -41,6 +41,19 @@ CODER_GITAUTH_0_AUTH_URL="https://github.example.com/login/oauth/authorize" CODER_GITAUTH_0_TOKEN_URL="https://github.example.com/login/oauth/access_token" ``` +### Azure Devops +Azure Devops requires the following environment variables: + +```console +CODER_GITAUTH_0_ID="primary-azure-devops" +CODER_GITAUTH_0_TYPE=azure-devops +CODER_GITAUTH_0_CLIENT_ID=xxxxxx +# ensure that this is the value for "Client Secret" and not "App Secret" +CODER_GITAUTH_0_CLIENT_SECRET=xxxxxxx +CODER_GITAUTH_0_AUTH_URL="https://app.vssps.visualstudio.com/oauth2/authorize" +CODER_GITAUTH_0_TOKEN_URL="https://app.vssps.visualstudio.com/oauth2/token" +``` + ### Self-managed git providers Custom authentication and token URLs should be From 557078cbf4bdb266a105e9df1324539f73bf22dc Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Fri, 7 Apr 2023 11:18:56 -0500 Subject: [PATCH 2/5] Update docs/admin/git-providers.md --- docs/admin/git-providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/git-providers.md b/docs/admin/git-providers.md index edff682958856..52053043554ff 100644 --- a/docs/admin/git-providers.md +++ b/docs/admin/git-providers.md @@ -48,7 +48,7 @@ Azure Devops requires the following environment variables: CODER_GITAUTH_0_ID="primary-azure-devops" CODER_GITAUTH_0_TYPE=azure-devops CODER_GITAUTH_0_CLIENT_ID=xxxxxx -# ensure that this is the value for "Client Secret" and not "App Secret" +# Ensure this value is your "Client Secret," not "App Secret" CODER_GITAUTH_0_CLIENT_SECRET=xxxxxxx CODER_GITAUTH_0_AUTH_URL="https://app.vssps.visualstudio.com/oauth2/authorize" CODER_GITAUTH_0_TOKEN_URL="https://app.vssps.visualstudio.com/oauth2/token" From 087c691fa9adb4e33c497b249ad8c8ad8118691d Mon Sep 17 00:00:00 2001 From: Ben Potter Date: Fri, 7 Apr 2023 11:19:02 -0500 Subject: [PATCH 3/5] Update docs/admin/git-providers.md --- docs/admin/git-providers.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/admin/git-providers.md b/docs/admin/git-providers.md index 52053043554ff..3f5470126a785 100644 --- a/docs/admin/git-providers.md +++ b/docs/admin/git-providers.md @@ -41,8 +41,8 @@ CODER_GITAUTH_0_AUTH_URL="https://github.example.com/login/oauth/authorize" CODER_GITAUTH_0_TOKEN_URL="https://github.example.com/login/oauth/access_token" ``` -### Azure Devops -Azure Devops requires the following environment variables: +### Azure DevOps +Azure DevOps requires the following environment variables: ```console CODER_GITAUTH_0_ID="primary-azure-devops" From 1aea0aea1f9d4109dae8f4ab6127b025d219e00a Mon Sep 17 00:00:00 2001 From: Marley <55280588+marleypowell@users.noreply.github.com> Date: Tue, 11 Apr 2023 08:34:30 +0100 Subject: [PATCH 4/5] Update git-providers.md --- docs/admin/git-providers.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/git-providers.md b/docs/admin/git-providers.md index 3f5470126a785..1a82d56097733 100644 --- a/docs/admin/git-providers.md +++ b/docs/admin/git-providers.md @@ -48,7 +48,7 @@ Azure DevOps requires the following environment variables: CODER_GITAUTH_0_ID="primary-azure-devops" CODER_GITAUTH_0_TYPE=azure-devops CODER_GITAUTH_0_CLIENT_ID=xxxxxx -# Ensure this value is your "Client Secret," not "App Secret" +# Ensure this value is your "Client Secret", not "App Secret" CODER_GITAUTH_0_CLIENT_SECRET=xxxxxxx CODER_GITAUTH_0_AUTH_URL="https://app.vssps.visualstudio.com/oauth2/authorize" CODER_GITAUTH_0_TOKEN_URL="https://app.vssps.visualstudio.com/oauth2/token" From 460483c6ce96780a7439b129bdc2bebe7f072564 Mon Sep 17 00:00:00 2001 From: Atif Ali Date: Fri, 28 Apr 2023 11:28:03 +0000 Subject: [PATCH 5/5] make fmt --- docs/admin/git-providers.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/admin/git-providers.md b/docs/admin/git-providers.md index 1a82d56097733..9cce4236a7409 100644 --- a/docs/admin/git-providers.md +++ b/docs/admin/git-providers.md @@ -42,6 +42,7 @@ CODER_GITAUTH_0_TOKEN_URL="https://github.example.com/login/oauth/access_token" ``` ### Azure DevOps + Azure DevOps requires the following environment variables: ```console