diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2020-09-30 13:02:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-30 13:02:43 -0400 |
commit | 8b40843392e2df80d4f1108295ae6acd972100b0 (patch) | |
tree | c86f29ea058cf0587c213f20a969fb70baf8e2fa /synapse/config/oidc_config.py | |
parent | Drop support for ancient prometheus_client (#8426) (diff) | |
download | synapse-8b40843392e2df80d4f1108295ae6acd972100b0.tar.xz |
Allow additional SSO properties to be passed to the client (#8413)
Diffstat (limited to 'synapse/config/oidc_config.py')
-rw-r--r-- | synapse/config/oidc_config.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/synapse/config/oidc_config.py b/synapse/config/oidc_config.py index 70fc8a2f62..f924116819 100644 --- a/synapse/config/oidc_config.py +++ b/synapse/config/oidc_config.py @@ -204,6 +204,14 @@ class OIDCConfig(Config): # If unset, no displayname will be set. # #display_name_template: "{{{{ user.given_name }}}} {{{{ user.last_name }}}}" + + # Jinja2 templates for extra attributes to send back to the client during + # login. + # + # Note that these are non-standard and clients will ignore them without modifications. + # + #extra_attributes: + #birthdate: "{{{{ user.birthdate }}}}" """.format( mapping_provider=DEFAULT_USER_MAPPING_PROVIDER ) |