From d88c3dd90059051f84c39de808a7a1beda9c5c9d Mon Sep 17 00:00:00 2001 From: Mac Chaffee Date: Wed, 10 Sep 2025 21:08:20 -0400 Subject: [PATCH] fix: use corret oauth_host, add sso comments --- .env.sample | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.env.sample b/.env.sample index a49ecd6..c2151fc 100644 --- a/.env.sample +++ b/.env.sample @@ -8,6 +8,7 @@ SITE_NAME=writefreely FEDERATION=true LOCAL_TIMELINE=false OPEN_DELETION=false +# Set to true if using SSO so linked users are created automatically OPEN_REGISTRATION=true # This settings requires authentication to read posts PRIVATE=true @@ -21,7 +22,7 @@ CHORUS=false FOREST=false SINGLE_USER=false MAX_BLOGS="10" -# Set to true if using keycloak +# Set to true if using SSO DISABLE_PASSWORD_AUTH=false # This is here so later lines can extend it; you likely don't wanna edit @@ -44,6 +45,6 @@ LETS_ENCRYPT_ENV=production #KEYCLOAK_ENABLED=1 #COMPOSE_FILE="$COMPOSE_FILE:compose.keycloak.yml" #OAUTH_CLIENT_ID=writefreely -#OAUTH_HOST=https:///auth/realms//protocol/openid-connect +#OAUTH_HOST=https:///realms//protocol/openid-connect #OAUTH_DISPLAY_NAME=Keycloak #OAUTH_CLIENT_SECRET_VERSION=v1