🔧 chore: temporarily disable OIDC in synapse config

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Till-JS 2026-02-01 02:49:45 +01:00
parent 2567ea622c
commit 4d8c7f1a7c

View file

@ -193,31 +193,28 @@ run_background_tasks_on: synapse
# OIDC / SSO Configuration (Mana Core Auth)
# ============================================
# TEMPORARILY DISABLED - Fix OIDC client registration first
# Enable SSO via Mana Core Auth OIDC Provider
oidc_providers:
- idp_id: manacore
idp_name: "Mana Core"
idp_brand: "org.matrix.custom"
discover: true
issuer: "https://auth.mana.how"
client_id: "matrix-synapse"
client_secret: "ms-1ac3cfdd636e4688c927aa36feb1dfa79d84da73099a1dd9c9ceacb79a77e7cd"
scopes: ["openid", "profile", "email"]
# Map OIDC claims to Matrix user attributes
user_mapping_provider:
config:
subject_claim: "sub"
localpart_template: "{{ user.email.split('@')[0] }}"
display_name_template: "{{ user.name }}"
email_template: "{{ user.email }}"
# Allow account linking with existing Matrix accounts
allow_existing_users: true
# Auto-provision new users from OIDC
enable_registration: true
# oidc_providers:
# - idp_id: manacore
# idp_name: "Mana Core"
# idp_brand: "org.matrix.custom"
# discover: true
# issuer: "https://auth.mana.how"
# client_id: "matrix-synapse"
# client_secret: "ms-1ac3cfdd636e4688c927aa36feb1dfa79d84da73099a1dd9c9ceacb79a77e7cd"
# scopes: ["openid", "profile", "email"]
# user_mapping_provider:
# config:
# subject_claim: "sub"
# localpart_template: "{{ user.email.split('@')[0] }}"
# display_name_template: "{{ user.name }}"
# email_template: "{{ user.email }}"
# allow_existing_users: true
# enable_registration: true
# SSO UI Settings
sso:
# Where to redirect after SSO login
client_whitelist:
- "https://element.mana.how"
- "https://matrix.mana.how"
# sso:
# client_whitelist:
# - "https://element.mana.how"
# - "https://matrix.mana.how"