File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,19 @@ services:
26
26
- CMD_SESSION_SECRET="discolor-subtitle-seducing-result-ceramics" # define secret
27
27
- CMD_ALLOW_EMAIL_REGISTER="false" # disallow registration
28
28
- CMD_EMAIL="false" # disallow login; only guest notes
29
+ # ------- OAUTH SSO -------
30
+ # see https://docs.goauthentik.io/integrations/services/hedgedoc/
31
+ # - CMD_ALLOW_ANONYMOUS_EDITS=False
32
+ # - CMD_OAUTH2_USER_PROFILE_URL=https://authentik.example.com/application/o/userinfo/
33
+ # - CMD_OAUTH2_USER_PROFILE_USERNAME_ATTR=preferred_username
34
+ # - CMD_OAUTH2_USER_PROFILE_DISPLAY_NAME_ATTR=name
35
+ # - CMD_OAUTH2_USER_PROFILE_EMAIL_ATTR=email
36
+ # - CMD_OAUTH2_TOKEN_URL=https://authentik.example.com/application/o/token/
37
+ # - CMD_OAUTH2_AUTHORIZATION_URL=https://authentik.example.com/application/o/authorize/
38
+ # - CMD_OAUTH2_CLIENT_ID=<ID>
39
+ # - CMD_OAUTH2_CLIENT_SECRET=<SECRET>
40
+ # - CMD_OAUTH2_PROVIDERNAME=Authentik
41
+ # - CMD_OAUTH2_SCOPE=openid email profile
29
42
volumes :
30
43
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/hedgedoc/uploads:/hedgedoc/public/uploads
31
44
ports :
You can’t perform that action at this time.
0 commit comments