mirror of
https://git.cloudron.io/cloudron/mastodon-app.git
synced 2024-11-21 15:20:59 +00:00
OIDC settings updated
This commit is contained in:
parent
fe1cf9c68e
commit
5deb8763a7
2 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@ OIDC_REDIRECT_URI=
|
||||||
OIDC_DISCOVERY=
|
OIDC_DISCOVERY=
|
||||||
OIDC_SCOPE=
|
OIDC_SCOPE=
|
||||||
OIDC_UID_FIELD=
|
OIDC_UID_FIELD=
|
||||||
|
OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=
|
||||||
|
|
||||||
# Application secrets
|
# Application secrets
|
||||||
SECRET_KEY_BASE=
|
SECRET_KEY_BASE=
|
||||||
|
|
2
start.sh
2
start.sh
|
@ -40,7 +40,7 @@ if [[ -n "${CLOUDRON_OIDC_ISSUER:-}" ]]; then
|
||||||
-e "s/OIDC_REDIRECT_URI=.*/OIDC_REDIRECT_URI=${CLOUDRON_APP_ORIGIN//\//\\\/}\/auth\/auth\/openid_connect\/callback/g" \
|
-e "s/OIDC_REDIRECT_URI=.*/OIDC_REDIRECT_URI=${CLOUDRON_APP_ORIGIN//\//\\\/}\/auth\/auth\/openid_connect\/callback/g" \
|
||||||
-e "s/OIDC_DISCOVERY=.*/OIDC_DISCOVERY=true/g" \
|
-e "s/OIDC_DISCOVERY=.*/OIDC_DISCOVERY=true/g" \
|
||||||
-e "s/OIDC_SCOPE=.*/OIDC_SCOPE=openid,profile,email/g" \
|
-e "s/OIDC_SCOPE=.*/OIDC_SCOPE=openid,profile,email/g" \
|
||||||
-e "s/OIDC_UID_FIELD=.*/OIDC_UID_FIELD=sub/g" \
|
-e "s/OIDC_UID_FIELD=.*/OIDC_UID_FIELD=preferred_username/g" \
|
||||||
-e "s/OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=.*/OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true/g" \
|
-e "s/OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=.*/OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true/g" \
|
||||||
-i /app/data/env.production
|
-i /app/data/env.production
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue