mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-11-24 18:56:32 -05:00
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 <sheogorath@shivering-isles.com>
This commit is contained in:
parent
81ca171895
commit
f98a96eaa6
1 changed files with 1 additions and 0 deletions
|
@ -40,6 +40,7 @@ CMD_OAUTH2_AUTHORIZATION_URL=https://keycloak.example.com/auth/realms/your-realm
|
||||||
CMD_OAUTH2_CLIENT_ID=<your client ID>
|
CMD_OAUTH2_CLIENT_ID=<your client ID>
|
||||||
CMD_OAUTH2_CLIENT_SECRET=<your client secret, which you can find under the Credentials tab for your client>
|
CMD_OAUTH2_CLIENT_SECRET=<your client secret, which you can find under the Credentials tab for your client>
|
||||||
CMD_OAUTH2_PROVIDERNAME=Keycloak
|
CMD_OAUTH2_PROVIDERNAME=Keycloak
|
||||||
|
CMD_OAUTH2_SCOPE="openid email profile"
|
||||||
CMD_DOMAIN=<hedgedoc.example.com>
|
CMD_DOMAIN=<hedgedoc.example.com>
|
||||||
CMD_PROTOCOL_USESSL=true
|
CMD_PROTOCOL_USESSL=true
|
||||||
CMD_URL_ADDPORT=false
|
CMD_URL_ADDPORT=false
|
||||||
|
|
Loading…
Reference in a new issue