feat: matrix better handling for oidc users

This commit is contained in:
Dominik Polakovics Polakovics 2026-03-03 21:53:53 +01:00
parent 42a8753018
commit b6cd213560

View file

@ -149,15 +149,17 @@ in {
client_secret: "$CLIENT_SECRET"
token_endpoint_auth_method: client_secret_post
scope: "openid email profile"
fetch_userinfo: true
claims_imports:
skip_confirmation: true
localpart:
action: force
template: "{{ user.email | split('@') | first }}"
action: require
template: "{{ user.email | replace('@cloonar.com', ''') | replace('@', '_') }}"
displayname:
action: suggest
action: force
template: "{{ user.name }}"
email:
action: force
action: require
template: "{{ user.email }}"
set_email_verification: always