From 03775f0f8059383bccbbbb65d8b9ed882b6e3134 Mon Sep 17 00:00:00 2001 From: Mathias Kende Date: Thu, 16 Apr 2026 10:24:58 +0200 Subject: [PATCH] docs(auth): update authelia configuration guide (#6465) --- docs/content/guides/auth/authelia.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/docs/content/guides/auth/authelia.md b/docs/content/guides/auth/authelia.md index 387d3fd3..4750f5f6 100644 --- a/docs/content/guides/auth/authelia.md +++ b/docs/content/guides/auth/authelia.md @@ -22,12 +22,11 @@ identity_providers: refresh_token_lifespan: 90m enable_client_debug_messages: false clients: - - id: HedgeDoc # this should be changed to something more secure - description: HedgeDoc SSO + - client_id: + client_name: HedgeDoc secret: public: false authorization_policy: two_factor - audience: [] scopes: - openid - email @@ -43,7 +42,7 @@ identity_providers: - form_post - query - fragment - userinfo_signing_algorithm: none + token_endpoint_auth_method: 'client_secret_post' ``` 4. Restart Authelia to apply to new configuration and check for any errors in the log @@ -53,7 +52,7 @@ identity_providers: - CMD_URL_ADDPORT=false - CMD_PROTOCOL_USESSL=true - CMD_OAUTH2_PROVIDERNAME=Authelia -- CMD_OAUTH2_CLIENT_ID=HedgeDoc +- CMD_OAUTH2_CLIENT_ID= - CMD_OAUTH2_CLIENT_SECRET= - CMD_OAUTH2_SCOPE=openid email profile - CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=sub @@ -61,7 +60,7 @@ identity_providers: - CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email - CMD_OAUTH2_USER_PROFILE_URL=https:///api/oidc/userinfo - CMD_OAUTH2_TOKEN_URL=https:///api/oidc/token -- CMD_OAUTH2_AUTHORIZATION_URL=https:///api/oidc/authorize +- CMD_OAUTH2_AUTHORIZATION_URL=https:///api/oidc/authorization ``` 6. Run `docker-compose up -d` on HedgeDoc to apply your settings.