Skip to content

website/integrations: add opencloud integration - #22497

Merged
PeshekDotDev merged 18 commits into
mainfrom
add-opencloud-integration
Jun 9, 2026
Merged

PeshekDotDev merged 18 commits into
mainfrom
add-opencloud-integration

Conversation

@PeshekDotDev

@PeshekDotDev PeshekDotDev commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

Details

An integration guide for opencloud

Closes #18839


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 and clients have been updated (make gen)

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 docs)

@PeshekDotDev PeshekDotDev self-assigned this May 20, 2026
@PeshekDotDev
PeshekDotDev requested a review from a team as a code owner May 20, 2026 09:08
@netlify

netlify Bot commented May 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-integrations ready!

Name Link
🔨 Latest commit 159bd32
🔍 Latest deploy log https://app.netlify.com/projects/authentik-integrations/deploys/6a282dc220e63c00086c6f6a
😎 Deploy Preview https://deploy-preview-22497--authentik-integrations.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented May 20, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 94a049d
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a0d7a1209723200095fb897
😎 Deploy Preview https://deploy-preview-22497--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@netlify

netlify Bot commented May 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 159bd32
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6a282dc21f2d23000857a945
😎 Deploy Preview https://deploy-preview-22497--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented May 20, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.27%. Comparing base (13243fd) to head (159bd32).
⚠️ Report is 129 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #22497      +/-   ##
==========================================
- Coverage   93.30%   93.27%   -0.04%     
==========================================
  Files        1033     1033              
  Lines       60150    60182      +32     
  Branches      400      400              
==========================================
+ Hits        56123    56132       +9     
- Misses       4027     4050      +23     
Flag Coverage Δ
conformance 36.54% <ø> (-0.01%) ⬇️
e2e 41.80% <ø> (-0.02%) ⬇️
integration 32.98% <ø> (-0.02%) ⬇️
rust 0.00% <ø> (ø)
unit 92.20% <ø> (-0.03%) ⬇️
unit-migrate 92.23% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@PeshekDotDev
PeshekDotDev force-pushed the add-opencloud-integration branch from d1acf2d to 691ecbd Compare May 20, 2026 09:24
@github-project-automation github-project-automation Bot moved this from Todo to In Progress in authentik Core May 20, 2026
@PeshekDotDev

Copy link
Copy Markdown
Contributor Author

So @dewi-tik I ended up reworking this guide a bit. Some people in the ticket clearly wanted the ability to use all of the different clients (desktop. mobile, web) at the same time, which requires setting up a small proxy for a single endpoint in front of authentik. I'm not sure if you'd consider that extending past the point of what we should do for an integration guide. If it is, I wouldn't mind posting a summary of the steps directly on the ticket and leaving this guide to only cover the standard "web" steps, which don't require a reverse proxy. Let me know what you think

@dewi-tik

Copy link
Copy Markdown
Contributor

So @dewi-tik I ended up reworking this guide a bit. Some people in the ticket clearly wanted the ability to use all of the different clients (desktop. mobile, web) at the same time, which requires setting up a small proxy for a single endpoint in front of authentik. I'm not sure if you'd consider that extending past the point of what we should do for an integration guide. If it is, I wouldn't mind posting a summary of the steps directly on the ticket and leaving this guide to only cover the standard "web" steps, which don't require a reverse proxy. Let me know what you think

I like it. Ultimately the point is to help users. So I don't think that we should limit sharing information just because it's maybe imperfect or doesn't cover every use case. Plus I like caddy.

Will give this a more thorough review and get it approved ASAP

@github-actions

github-actions Bot commented May 20, 2026 •

Copy link
Copy Markdown
Contributor

authentik PR Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-159bd324910bd07c989dc45fcd513ef14ec5370d
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

authentik:
    outposts:
        container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
    image:
        repository: ghcr.io/goauthentik/dev-server
        tag: gh-159bd324910bd07c989dc45fcd513ef14ec5370d

Afterwards, run the upgrade commands from the latest release notes.

@dewi-tik
dewi-tik requested a review from dominic-r May 20, 2026 18:18
@dewi-tik dewi-tik added the area:docs Features or issues related to Docusaurus label May 20, 2026
@dewi-tik dewi-tik moved this from In Progress to Needs review in authentik Core May 20, 2026

## OpenCloud configuration

In the `opencloud-compose` project, enable the external IdP overlay in `COMPOSE_FILE`. This replaces OpenCloud's built-in IdP, so login goes through authentik only.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and that's by doing what's in L58. seems unclear


## Configuration verification

Open `https://opencloud.company` in a new browser window. You are redirected to authentik to log in, and after authenticating you are returned to OpenCloud.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just say open opencloud no need to add domain, especially if it's a placeholder

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd prefer to leave it I think it's fine either direction but this is a bit more direct

- **Client type**: `Public`
- **Client ID**: the client's value from the table below.
- **Redirect URIs**: the client's value from the table below.
- **Signing Key**: select the **same** key for all four providers (the shared issuer exposes a single `jwks_uri`, so all clients' tokens must be signed by one key).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to justify and mabye just say Select the same available signing key for all platforms

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I don't understand why we wouldn't, we are setting up a proxy to share one provider's well-known in a location to represent all 4 of these providers, it's important to note. It's the whole reason I had to make this guide in the first place

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't usually give extra information in these steps. But in this case it's an unusual guide because it requires multiple providers. I'm fine with the justification.


## 3. OpenCloud configuration

In the `opencloud-compose` project, enable the external IdP overlay in `COMPOSE_FILE`. This replaces OpenCloud's built-in IdP, so login goes through authentik only.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ehhhh we repeat word for work what's in the web only section. we should restructure this doc as to not repeat ourselves

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There isn't really a good way to organize this to make that happen. The .env file for the web setup requires an application slug, the other .env file doesn't and has different urls.

The only thing that would kind of work is telling people to universally start with the authentik yml, then telling people to do some of opencloud, then go back to authentik, then go back to the .env for the web version, and I hate it when we do that in guides

@github-project-automation github-project-automation Bot moved this from Needs review to In Progress in authentik Core May 20, 2026
PeshekDotDev and others added 4 commits May 20, 2026 13:41
…d/index.mdx

Co-authored-by: Dewi Roberts <[email protected]>
Signed-off-by: Connor Peshek <[email protected]>
…d/index.mdx

Co-authored-by: Dewi Roberts <[email protected]>
Signed-off-by: Connor Peshek <[email protected]>
…d/index.mdx

Co-authored-by: Dewi Roberts <[email protected]>
Signed-off-by: Connor Peshek <[email protected]>
…d/index.mdx

Co-authored-by: Dewi Roberts <[email protected]>
Signed-off-by: Connor Peshek <[email protected]>
@netlify

netlify Bot commented May 20, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit 5a0298b
🔍 Latest deploy log https://app.netlify.com/projects/authentik-storybook/deploys/6a17ff1fbc45d00008409e5b
😎 Deploy Preview https://deploy-preview-22497--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@PeshekDotDev

PeshekDotDev commented May 20, 2026 •

Copy link
Copy Markdown
Contributor Author

To @dominic-r 's point, the callout of Global issuer throughout feels a little weird, but we have zero documentation on the global and per-application issuer options for oauth providers. So there is no existing documentation to refer to or link to in order to better explain it, and this integration guide gets stuck doing a little bit of the heavy lifting of explaining what the global issuer option is. We should update the documentation to highlight this feature, but let me know what we want to do about this @dewi-tik and what you think

However, I think the document is ready for next rounds of review. All other feedback is handled

@PeshekDotDev

Copy link
Copy Markdown
Contributor Author

Going to pr docs on the issuer and ask about the well known endpoint before continuing with this integration guide


Choose your setup below. The **Web only** tab logs in through the browser. The **Web, desktop & mobile** tab also enables the native sync clients, which each use a distinct client ID and require some extra issuer configuration.

import TabItem from "@theme/TabItem";

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lets move imports to top of file

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved them up

WEBFINGER_WEB_OIDC_CLIENT_SCOPES=openid profile email
```

:::info

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no need to put this. its our doc and it should be considered authoritive, so no need to justify the values

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed that for ya

GRAPH_ASSIGN_DEFAULT_USER_ROLE: "true"
```

Then reboot your docker containers.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's capitalize docker

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

completed

@dewi-tik
dewi-tik requested a review from dominic-r June 9, 2026 15:30
@PeshekDotDev
PeshekDotDev merged commit c897e40 into main Jun 9, 2026
110 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in authentik Core Jun 9, 2026
@PeshekDotDev
PeshekDotDev deleted the add-opencloud-integration branch June 9, 2026 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Make OpenCloud integration guide

3 participants