From de107ebb95ab78b3777a0d2b9a804a0202eab88b Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Mon, 27 Jan 2025 07:30:27 +0000 Subject: [PATCH] docs: simplify OIDC config instructions Removed specific commands for running Coder with OIDC settings and replaced with general instructions to set environment variables. This aims to streamline the setup process and reduce redundancy. --- docs/admin/users/oidc-auth.md | 35 +---------------------------------- 1 file changed, 1 insertion(+), 34 deletions(-) diff --git a/docs/admin/users/oidc-auth.md b/docs/admin/users/oidc-auth.md index fc4b0fd6559d7..5c46c5781670c 100644 --- a/docs/admin/users/oidc-auth.md +++ b/docs/admin/users/oidc-auth.md @@ -11,16 +11,7 @@ Your OIDC provider will ask you for the following parameter: ## Step 2: Configure Coder with the OpenID Connect credentials -Navigate to your Coder host and run the following command to start up the Coder -server: - -```shell -coder server --oidc-issuer-url="https://issuer.corp.com" --oidc-email-domain="your-domain-1,your-domain-2" --oidc-client-id="533...des" --oidc-client-secret="G0CSP...7qSM" -``` - -If you are running Coder as a system service, you can achieve the same result as -the command above by adding the following environment variables to the -`/etc/coder.d/coder.env` file: +Set the following environment variables on your Coder deployment and restart Coder: ```env CODER_OIDC_ISSUER_URL="https://issuer.corp.com" @@ -29,30 +20,6 @@ CODER_OIDC_CLIENT_ID="533...des" CODER_OIDC_CLIENT_SECRET="G0CSP...7qSM" ``` -Once complete, run `sudo service coder restart` to reboot Coder. - -If deploying Coder via Helm, you can set the above environment variables in the -`values.yaml` file as such: - -```yaml -coder: - env: - - name: CODER_OIDC_ISSUER_URL - value: "https://issuer.corp.com" - - name: CODER_OIDC_EMAIL_DOMAIN - value: "your-domain-1,your-domain-2" - - name: CODER_OIDC_CLIENT_ID - value: "533...des" - - name: CODER_OIDC_CLIENT_SECRET - value: "G0CSP...7qSM" -``` - -To upgrade Coder, run: - -```shell -helm upgrade coder-v2/coder -n -f values.yaml -``` - ## OIDC Claims When a user logs in for the first time via OIDC, Coder will merge both the pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy