From f98a96eaa69b22693936db9161bd05be18453836 Mon Sep 17 00:00:00 2001 From: Sheogorath Date: Fri, 4 Nov 2022 20:24:37 +0100 Subject: [PATCH] docs: Fix keycloak guide Since Keycloak version 20.0.0 it's needed to explicitly request the openid scope. Since we define it anyway, why not request all the scopes hedgedoc needs to function. This patch should help to fix people's HedgeDoc deployments. References: https://github.com/keycloak/keycloak/pull/14237 https://shivering-isles.com/fixing-hedgedoc-profile-info-keycloak-20 Signed-off-by: Sheogorath --- docs/content/guides/auth/keycloak.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/content/guides/auth/keycloak.md b/docs/content/guides/auth/keycloak.md index 62bcfa601..15d9ea003 100644 --- a/docs/content/guides/auth/keycloak.md +++ b/docs/content/guides/auth/keycloak.md @@ -40,6 +40,7 @@ CMD_OAUTH2_AUTHORIZATION_URL=https://keycloak.example.com/auth/realms/your-realm CMD_OAUTH2_CLIENT_ID= CMD_OAUTH2_CLIENT_SECRET= CMD_OAUTH2_PROVIDERNAME=Keycloak +CMD_OAUTH2_SCOPE="openid email profile" CMD_DOMAIN= CMD_PROTOCOL_USESSL=true CMD_URL_ADDPORT=false