Enable openid connect for mastodon
This commit is contained in:
parent
4c696bdff2
commit
304b9c3601
2 changed files with 12 additions and 0 deletions
|
@ -12,3 +12,5 @@
|
|||
active_record_encryption_deterministic_key: "{{ mastodon.active_record_encryption_deterministic_key }}"
|
||||
active_record_encryption_key_derivation_salt: "{{ mastodon.active_record_encryption_key_derivation_salt }}"
|
||||
active_record_encryption_primary_key: "{{ mastodon.active_record_encryption_primary_key }}"
|
||||
oidc_client_id: "oD2Vg5shQju164gYmju8"
|
||||
oidc_client_secret: "{{ mastodon.oidc_client_secret }}"
|
||||
|
|
|
@ -37,3 +37,13 @@ S3_HOSTNAME={{ s3_hostname }}
|
|||
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY={{ active_record_encryption_deterministic_key }}
|
||||
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT={{ active_record_encryption_key_derivation_salt }}
|
||||
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY={{ active_record_encryption_primary_key }}
|
||||
|
||||
OIDC_ENABLED=true
|
||||
OIDC_DISPLAY_NAME=comfycamp.space
|
||||
OIDC_ISSUER=https://comfycamp.space
|
||||
OIDC_DISCOVERY=true
|
||||
OIDC_SCOPE=openid,profile,email
|
||||
OIDC_UID_FIELD=preferred_username
|
||||
OIDC_REDIRECT_URI=https://m.comfycamp.space/auth/auth/openid_connect/callback
|
||||
OIDC_CLIENT_ID={{ oidc_client_id }}
|
||||
OIDC_CLIENT_SECRET={{ oidc_client_secret }}
|
||||
|
|
Loading…
Reference in a new issue