summaryrefslogtreecommitdiff
path: root/docs/content/guides/auth/keycloak.md
diff options
context:
space:
mode:
authorYannick Bungers2021-01-14 21:48:58 +0100
committerGitHub2021-01-14 21:48:58 +0100
commitf8757382af059fbbacd9881480a17fbfbebb1d95 (patch)
treec4298fd9595257fee632a732380376573d3a539f /docs/content/guides/auth/keycloak.md
parent3d4f1e163c05b78447b2a8ebe04a160bece11af7 (diff)
parenteaa7a15615425e5d86fd987e8ab8ec72cf781d61 (diff)
Merge pull request #722 from hedgedoc/docs/various-fixes
Diffstat (limited to '')
-rw-r--r--docs/content/guides/auth/keycloak.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/guides/auth/keycloak.md b/docs/content/guides/auth/keycloak.md
index 82f6d321..62bcfa60 100644
--- a/docs/content/guides/auth/keycloak.md
+++ b/docs/content/guides/auth/keycloak.md
@@ -30,7 +30,7 @@ You may note that a separate realm is specified throughout this tutorial. It is
5. In the `docker-compose.yml` add the following environment variables to `app:` `environment:`
-```Dockerfile
+```yaml
CMD_OAUTH2_USER_PROFILE_URL=https://keycloak.example.com/auth/realms/your-realm/protocol/openid-connect/userinfo
CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=preferred_username
CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR=name