feat: matrix better handling for oidc users
This commit is contained in:
parent
42a8753018
commit
b6cd213560
1 changed files with 6 additions and 4 deletions
|
|
@ -149,15 +149,17 @@ in {
|
||||||
client_secret: "$CLIENT_SECRET"
|
client_secret: "$CLIENT_SECRET"
|
||||||
token_endpoint_auth_method: client_secret_post
|
token_endpoint_auth_method: client_secret_post
|
||||||
scope: "openid email profile"
|
scope: "openid email profile"
|
||||||
|
fetch_userinfo: true
|
||||||
claims_imports:
|
claims_imports:
|
||||||
|
skip_confirmation: true
|
||||||
localpart:
|
localpart:
|
||||||
action: force
|
action: require
|
||||||
template: "{{ user.email | split('@') | first }}"
|
template: "{{ user.email | replace('@cloonar.com', ''') | replace('@', '_') }}"
|
||||||
displayname:
|
displayname:
|
||||||
action: suggest
|
action: force
|
||||||
template: "{{ user.name }}"
|
template: "{{ user.name }}"
|
||||||
email:
|
email:
|
||||||
action: force
|
action: require
|
||||||
template: "{{ user.email }}"
|
template: "{{ user.email }}"
|
||||||
set_email_verification: always
|
set_email_verification: always
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue