fix: use secrets properly for keycloak

This commit is contained in:
Mac Chaffee
2025-09-10 20:47:05 -04:00
parent e7b150cea1
commit fe384d2ddb
2 changed files with 5 additions and 5 deletions

View File

@ -44,8 +44,6 @@ LETS_ENCRYPT_ENV=production
#KEYCLOAK_ENABLED=1
#COMPOSE_FILE="$COMPOSE_FILE:compose.keycloak.yml"
#OAUTH_CLIENT_ID=writefreely
#OAUTH_HOST=
#OAUTH_CLIENT_SECRET=
#OAUTH_LOGIN_BUTTON=
#OAUTH_WRITEFREELY_VERSION=v1
#OAUTH_HOST=https://<your domain>/auth/realms/<your realm>/protocol/openid-connect
#OAUTH_DISPLAY_NAME=Keycloak
#OAUTH_CLIENT_SECRET_VERSION=v1

View File

@ -32,7 +32,9 @@ abra app run <domain> app -- writefreely -c /usr/share/writefreely/config.ini us
## Keycloak setup
For the **OAUTH_HOST** config, it uses this format: `https://keycloak.domain.here/auth/realms/<your realm>/protocol/openid-connect`.
For the **OAUTH_HOST** config, it uses this format: `https://keycloak.example.com/auth/realms/<your realm>/protocol/openid-connect`.
To set the client secret: `abra app secret insert <domain> oauth_client_secret v1`
## MariaDB