Repository: goauthentik/authentik
Pull request #14385: website/integrations: coder
Author: login: dominic-r
Created: 2025-05-05T02:58:43Z | Merged: 2025-05-07T19:04:34Z

Signed-off-by: Dominic R <dominic@sdko.org><!--
👋 Hi there! Welcome.

Please check the Contributing guidelines: https://docs.goauthentik.io/docs/developer-docs/#how-can-i-contribute
-->

## Details

<!--
Explain what this PR changes, what the rationale behind the change is, if any new requirements are introduced or any breaking changes caused by this PR.

Ideally also link an Issue for context that this PR will close using `closes #`
-->
REPLACE ME

---

## Checklist

-   [ ] Local tests pass (`ak test authentik/`)
-   [ ] The code has been formatted (`make lint-fix`)

If an API change has been made

-   [ ] The API schema has been updated (`make gen-build`)

If changes to the frontend have been made

-   [ ] The code has been formatted (`make web`)

If applicable

-   [ ] The documentation has been updated
-   [ ] The documentation has been formatted (`make website`)



Diff:
diff --git a/website/integrations/services/coder/index.md b/website/integrations/services/coder/index.md
new file mode 100644
index 000000000000..3deb3f83fced
--- /dev/null
+++ b/website/integrations/services/coder/index.md
@@ -0,0 +1,62 @@
+---
+title: Integrate with Coder
+sidebar_label: Coder
+support_level: community
+---
+
+## What is Coder
+
+> Coder is an open-source platform that provides browser-based cloud development environments, enabling developers and teams to securely write, edit, and manage code remotely without the need for local setup
+>
+> -- https://coder.com
+
+## Preparation
+
+The following placeholders are used in this guide:
+
+- `coder.company` is the FQDN of your Coder installation.
+- `authentik.company` is the FQDN of the authentik installation.
+
+:::note
+This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.
+:::
+
+## authentik configuration
+
+To support the integration of Coder with authentik, you need to create an application/provider pair in authentik.
+
+### Create an application and provider in authentik
+
+1. Log in to authentik as an admin, and open the authentik Admin interface.
+2. Navigate to **Applications** > **Applications** and click **Create with Provider** to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
+
+- **Application**: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
+- **Choose a Provider type**: select **OAuth2/OpenID Connect** as the provider type.
+- **Configure the Provider**: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
+    - Note the **Client ID**,**Client Secret**, and **slug** values because they will be required later.
+    - Set a `Strict` redirect URI to `https://coder.company/api/v2/users/oidc/callback`.
+    - Select any available signing key.
+- **Configure Bindings** _(optional)_: you can create a [binding](/docs/add-secure-apps/flows-stages/bindings/) (policy, group, or user) to manage the listing and access to applications on a user's **My applications** page.
+
+3. Click **Submit** to save the new application and provider.
+
+## Coder configuration
+
+To support the integration of Coder with authentik, add the following environment variables to your Coder deployment:
+
+```yaml showLineNumbers
+CODER_OIDC_ISSUER_URL=https://authentik.company/application/o/<application slug>/
+CODER_OIDC_EMAIL_DOMAIN=acme.company,acme-corp.company
+CODER_OIDC_CLIENT_ID=<Client ID from authentik>
+CODER_OIDC_CLIENT_SECRET=<Client secret from authentik>
+CODER_OIDC_SIGN_IN_TEXT=Log in with authentik
+CODER_OIDC_ICON_URL=https://authentik.company/static/dist/assets/icons/icon.png
+```
+
+## Resources
+
+- [Coder OIDC authentication documentatiom](https://coder.com/docs/admin/users/oidc-auth/)
+
+## Configuration verification
+
+To confirm that authentik is properly configured with Coder, log out and attempt to log back in by clicking **Log in with authentik**.
diff --git a/website/sidebars/integrations.mjs b/website/sidebars/integrations.mjs
index 6eed36ef2a1e..39a16afe12fa 100644
--- a/website/sidebars/integrations.mjs
+++ b/website/sidebars/integrations.mjs
@@ -80,6 +80,7 @@ const items = [
             "services/argocd/index",
             "services/awx-tower/index",
             "services/cloudflare-access/index",
+            "services/coder/index",
             "services/globalprotect/index",
             "services/harbor/index",
             "services/hashicorp-vault/index",


Reviews:
user: login: dewi-tik
state: CHANGES_REQUESTED
author_association: CONTRIBUTOR
submitted_at: 2025-05-07T08:21:54Z
user: login: dewi-tik
state: APPROVED
author_association: CONTRIBUTOR
submitted_at: 2025-05-07T19:02:53Z

Review comments:
diff_hunk: @@ -0,0 +1,62 @@
+---
+title: Integrate with Coder
+sidebar_label: Coder
+support_level: community
+---
+
+## What is Coder
+
+> Coder is an open-source platform that provides browser-based cloud development environments, enabling developers and teams to securely write, edit, and manage code remotely without the need for local setup
+>
+> -- https://coder.com
+
+## Preparation
+
+The following placeholders are used in this guide:
+
+- `coder.company` is the FQDN of your Coder installation.
+- `authentik.company` is the FQDN of the authentik installation.
+
+:::note
+This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.
+:::
+
+## authentik configuration
+
+To support the integration of Coder with authentik, you need to create an application/provider pair in authentik.
+
+### Create an application and provider in authentik
+
+1. Log in to authentik as an admin, and open the authentik Admin interface.
+2. Navigate to **Applications** > **Applications** and click **Create with Provider** to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
+
+- **Application**: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
+- **Choose a Provider type**: select **OAuth2/OpenID Connect** as the provider type.
+- **Configure the Provider**: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
+    - Note the **Client ID**,**Client Secret**, and **slug** values because they will be required later.
+    - Set a `Strict` redirect URI to `https://coder.company/api/v2/users/oidc/callback`.
+    - Select any available signing key.
+- **Configure Bindings** _(optional)_: you can create a [binding](/docs/add-secure-apps/flows-stages/bindings/) (policy, group, or user) to manage the listing and access to applications on a user's **My applications** page.
+
+3. Click **Submit** to save the new application and provider.
+
+## Coder configuration
+
+To support the integration of Coder with authentik, update your `.env` file to include the following variables:
path: website/integrations/services/coder/index.md
user: login: dewi-tik
body: Since coder can be deployed in a few different ways, maybe change this to

```suggestion
To support the integration of Coder with authentik, add the following environment variables to your Coder deployment:
```

Or something similar
created_at: 2025-05-07T08:20:47Z
author_association: CONTRIBUTOR
diff_hunk: @@ -0,0 +1,62 @@
+---
+title: Integrate with Coder
+sidebar_label: Coder
+support_level: community
+---
+
+## What is Coder
+
+> Coder is an open-source platform that provides browser-based cloud development environments, enabling developers and teams to securely write, edit, and manage code remotely without the need for local setup
+>
+> -- https://coder.com
+
+## Preparation
+
+The following placeholders are used in this guide:
+
+- `coder.company` is the FQDN of your Coder installation.
+- `authentik.company` is the FQDN of the authentik installation.
+
+:::note
+This documentation lists only the settings that you need to change from their default values. Be aware that any changes other than those explicitly mentioned in this guide could cause issues accessing your application.
+:::
+
+## authentik configuration
+
+To support the integration of Coder with authentik, you need to create an application/provider pair in authentik.
+
+### Create an application and provider in authentik
+
+1. Log in to authentik as an admin, and open the authentik Admin interface.
+2. Navigate to **Applications** > **Applications** and click **Create with Provider** to create an application and provider pair. (Alternatively you can first create a provider separately, then create the application and connect it with the provider.)
+
+- **Application**: provide a descriptive name, an optional group for the type of application, the policy engine mode, and optional UI settings.
+- **Choose a Provider type**: select **OAuth2/OpenID Connect** as the provider type.
+- **Configure the Provider**: provide a name (or accept the auto-provided name), the authorization flow to use for this provider, and the following required configurations.
+    - Note the **Client ID**,**Client Secret**, and **slug** values because they will be required later.
+    - Set a `Strict` redirect URI to `https://coder.company/api/v2/users/oidc/callback`.
+    - Select any available signing key.
+- **Configure Bindings** _(optional)_: you can create a [binding](/docs/add-secure-apps/flows-stages/bindings/) (policy, group, or user) to manage the listing and access to applications on a user's **My applications** page.
+
+3. Click **Submit** to save the new application and provider.
+
+## Coder configuration
+
+To support the integration of Coder with authentik, update your `.env` file to include the following variables:
+
+```yaml showLineNumbers title=".env"
path: website/integrations/services/coder/index.md
user: login: dewi-tik
body: ```suggestion
```yaml showLineNumbers
```
created_at: 2025-05-07T08:21:19Z
author_association: CONTRIBUTOR

PR comments:
user: login: netlify[bot]
created_at: 2025-05-05T02:59:04Z
body: ### <span aria-hidden="true">✅</span> Deploy Preview for *authentik-storybook* canceled.


|  Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | a9a5ca824036c694941b2820c395b61ad92fdbe8 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/authentik-storybook/deploys/681ba4266361fe00085ed369 |
author_association: NONE
user: login: netlify[bot]
created_at: 2025-05-05T02:59:14Z
body: ### <span aria-hidden="true">✅</span> Deploy Preview for *authentik-docs* ready!


|  Name | Link |
|:-:|------------------------|
|<span aria-hidden="true">🔨</span> Latest commit | a9a5ca824036c694941b2820c395b61ad92fdbe8 |
|<span aria-hidden="true">🔍</span> Latest deploy log | https://app.netlify.com/sites/authentik-docs/deploys/681ba4261cf72000084d5d33 |
|<span aria-hidden="true">😎</span> Deploy Preview | [https://deploy-preview-14385--authentik-docs.netlify.app](https://deploy-preview-14385--authentik-docs.netlify.app) |
|<span aria-hidden="true">📱</span> Preview on mobile | <details><summary> Toggle QR Code... </summary><br /><br />![QR Code](https://app.netlify.com/qr-code/eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJ1cmwiOiJodHRwczovL2RlcGxveS1wcmV2aWV3LTE0Mzg1LS1hdXRoZW50aWstZG9jcy5uZXRsaWZ5LmFwcCJ9._Osoc33XS7QP6GD_PU23Y8C-Ut1Ak49zopiiDgqLfmg)<br /><br />_Use your smartphone camera to open QR code link._</details> |
---
<!-- [authentik-docs Preview](https://deploy-preview-14385--authentik-docs.netlify.app) -->
_To edit notification comments on pull requests, go to your [Netlify site configuration](https://app.netlify.com/sites/authentik-docs/configuration/notifications#deploy-webhooks)._
author_association: NONE
user: login: codecov[bot]
created_at: 2025-05-05T03:06:29Z
body: ## [Codecov](https://app.codecov.io/gh/goauthentik/authentik/pull/14385?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) Report
All modified and coverable lines are covered by tests :white_check_mark:
> Project coverage is 92.70%. Comparing base [(`497ac5e`)](https://app.codecov.io/gh/goauthentik/authentik/commit/497ac5e3d0e07cf846deb29042a8b91bc69a237a?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) to head [(`a9a5ca8`)](https://app.codecov.io/gh/goauthentik/authentik/commit/a9a5ca824036c694941b2820c395b61ad92fdbe8?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik).
> Report is 1 commits behind head on main.

<details><summary>Additional details and impacted files</summary>


```diff
@@           Coverage Diff           @@
##             main   #14385   +/-   ##
=======================================
  Coverage   92.70%   92.70%           
=======================================
  Files         809      809           
  Lines       41533    41533           
=======================================
+ Hits        38504    38505    +1     
+ Misses       3029     3028    -1     
```

| [Flag](https://app.codecov.io/gh/goauthentik/authentik/pull/14385/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | Coverage Δ | |
|---|---|---|
| [e2e](https://app.codecov.io/gh/goauthentik/authentik/pull/14385/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `47.77% <ø> (ø)` | |
| [integration](https://app.codecov.io/gh/goauthentik/authentik/pull/14385/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `24.39% <ø> (ø)` | |
| [unit](https://app.codecov.io/gh/goauthentik/authentik/pull/14385/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik) | `90.57% <ø> (+<0.01%)` | :arrow_up: |

Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik#carryforward-flags-in-the-pull-request-comment) to find out more.

</details>

[:umbrella: View full report in Codecov by Sentry](https://app.codecov.io/gh/goauthentik/authentik/pull/14385?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik).   
:loudspeaker: Have feedback on the report? [Share it here](https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=goauthentik).

<details><summary> :rocket: New features to boost your workflow: </summary>

- :package: [JS Bundle Analysis](https://docs.codecov.com/docs/javascript-bundle-analysis): Save yourself from yourself by tracking and limiting bundle sizes in JS merges.
</details>
author_association: NONE
user: login: dewi-tik
created_at: 2025-05-07T12:10:53Z
body: You'll need to update this to use the new sidebar file too: website/sidebars/integrations
author_association: CONTRIBUTOR