mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-02-23 12:51:54 +01:00
Adapted URLs and SSO naming
This commit is contained in:
parent
95f3fdb130
commit
bd68e42312
@ -39,13 +39,13 @@ ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY={{mastodon_active_record_encryption_primary
|
|||||||
# @see https://stackoverflow.com/questions/72081776/how-mastodon-configured-login-using-sso
|
# @see https://stackoverflow.com/questions/72081776/how-mastodon-configured-login-using-sso
|
||||||
|
|
||||||
OIDC_ENABLED={{ oidc.enabled | string | lower }}
|
OIDC_ENABLED={{ oidc.enabled | string | lower }}
|
||||||
OIDC_DISPLAY_NAME="{{primary_domain}} SSO"
|
OIDC_DISPLAY_NAME="{{primary_domain | upper}} SSO"
|
||||||
OIDC_ISSUER={{oidc.client.issuer_url}}
|
OIDC_ISSUER={{oidc.client.issuer_url}}
|
||||||
OIDC_DISCOVERY=true
|
OIDC_DISCOVERY=true
|
||||||
OIDC_SCOPE="openid,profile,email"
|
OIDC_SCOPE="openid,profile,email"
|
||||||
OIDC_UID_FIELD=preferred_username # @see https://stackoverflow.com/questions/72108087/how-to-set-the-username-of-mastodon-by-log-in-via-keycloak
|
OIDC_UID_FIELD=preferred_username # @see https://stackoverflow.com/questions/72108087/how-to-set-the-username-of-mastodon-by-log-in-via-keycloak
|
||||||
OIDC_CLIENT_ID={{oidc.client.id}}
|
OIDC_CLIENT_ID={{oidc.client.id}}
|
||||||
OIDC_REDIRECT_URI=https://{{domain}}
|
OIDC_REDIRECT_URI=https://{{domain}}/auth/auth/openid_connect/callback
|
||||||
OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true
|
OIDC_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true
|
||||||
OIDC_CLIENT_SECRET={{oidc.client.secret}}
|
OIDC_CLIENT_SECRET={{oidc.client.secret}}
|
||||||
OMNIAUTH_ONLY=true # uncomment to only use OIDC for login / registration buttons
|
OMNIAUTH_ONLY=true # uncomment to only use OIDC for login / registration buttons
|
||||||
|
Loading…
x
Reference in New Issue
Block a user