docs(oidc): Add Authelia to OIDC instructions #2341
Labels
No labels
Abandoned
Blocked
Bug
Changelog
Added
Changelog
Missing
Changelog
None
Cherry-picking
Compliance
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/E2EE
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Matrix/T&S
Merge
Merge/Manual
Merge/Squash
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
Support
bob the builder
No milestone
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
continuwuation/continuwuity!2341
Loading…
Reference in a new issue
No description provided.
Delete branch "fhoekstra/continuwuity:add-authelia-to-oidc-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request adds instructions for setting up Continuwuity OIDC with a second identity provider, Authelia. It will help people who are using Authelia as their identity provider to configure Continuwuity with OIDC, and perhaps more broadly help with other providers as well, as Authelia does some things differently: it makes it obvious what is commonn to all OIDC providers and what is implementation-specific.
Some things I am not certain about and would appreciate feedback on:
Configuring Continuwuitysection, depending on the ID provider usedThanks for reviewing my PR!
Pull request checklist:
mainbranch, and the branch is named something other thanmain.myself, if applicable. This includes ensuring code compiles.
7c1afb91e028b93d015db201694fe9c4b97121a4Thanks for your tips in Matrix @stratself ! I am quite happy with like how this looks now. Let me know how I can improve it further!
Thanks for the PR. Some changes to address. Please include a
changelog.d/entry once we're all done@ -14,15 +16,20 @@ A simple OIDC configuration is as easy as creating a new OIDC application in you### Configuring the OIDC providerSince we're going to write guides for multiple providers, standardise the domains to use and put them in the ## Instructions beginning section. This is also the place where you write about the
[global.well_known] clientrequirementDone in
8f4d4a73dfThanks, next time you can click the Resolve conversation button yourself
@ -47,0 +56,4 @@</Tab><Tab label="Authelia">These instructions assume you have already set up Authelia as an OIDC provider and are just adding Continuwuity to it. If you are looking how to set up your Authelia as an OIDC provider, [this article](https://blog.stonegarden.dev/articles/2025/06/authelia-oidc/) is very useful.Remove both sentences, as this is assumed
Done in
8f4d4a73df@ -47,0 +57,4 @@<Tab label="Authelia">These instructions assume you have already set up Authelia as an OIDC provider and are just adding Continuwuity to it. If you are looking how to set up your Authelia as an OIDC provider, [this article](https://blog.stonegarden.dev/articles/2025/06/authelia-oidc/) is very useful.To create a new client in your identity provider, it is [recommended](https://www.authelia.com/integration/openid-connect/frequently-asked-questions/#how-do-i-generate-a-client-identifier-or-client-secret) to randomly generate both the client id and client secret. The commands below should get you those:For cleanliness, use indirect links
Also,
s/in your identity provider/in AutheliaDone in
8f4d4a73df@ -47,0 +59,4 @@These instructions assume you have already set up Authelia as an OIDC provider and are just adding Continuwuity to it. If you are looking how to set up your Authelia as an OIDC provider, [this article](https://blog.stonegarden.dev/articles/2025/06/authelia-oidc/) is very useful.To create a new client in your identity provider, it is [recommended](https://www.authelia.com/integration/openid-connect/frequently-asked-questions/#how-do-i-generate-a-client-identifier-or-client-secret) to randomly generate both the client id and client secret. The commands below should get you those:<Tabs groupId="authelia-docker-or-not">Tabs aren't needed here, so make them normal code blocks. Just write something like "If you're using Docker for Authelia, prepend
docker run --rm authelia/authelia:latestto the commands above" afterwardsI got this from the Authelia docs, I really like the ease of clicking "Docker" and copy. Are you sure?
It's fine this can be kept
@ -47,0 +72,4 @@```shecho "Random value for Client ID:"docker run --rm authelia/authelia:latest authelia crypto rand --length 72 --charset rfc3986echo "\nClient Secret (labeled Random Password) and its Digest:"These echos should be comments instead
Done in
8f4d4a73df@ -47,0 +78,4 @@</Tab></Tabs>:::important client secret or digest?This does not need to be an
importantblock, should be removedDone in
8f4d4a73df@ -47,0 +94,4 @@# Add this block below to the clients list- client_name: continuwuityclient_id: "client-id-goes-here"client_secret: "client-secret-DIGEST-goes-here"Add a comment above this line saying
or something to that tune
Done in
8f4d4a73df8f4d4a73dfc660c4671bca59bd08cadf457bd772Preview: https://muc.muoi.me/authentication/oidc.html#instructions
Should be all good
05aaf36245c95156f787