diff options
author | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2021-02-01 15:50:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-01 15:50:56 +0000 |
commit | 8aed29dc615bee75019fc526a5c91cdc2638b665 (patch) | |
tree | a2a16f641a1b587c887820fc653822bfe0a5726f /docs | |
parent | Fix SSO on workers (#9271) (diff) | |
download | synapse-8aed29dc615bee75019fc526a5c91cdc2638b665.tar.xz |
Improve styling and wording of SSO redirect confirm template (#9272)
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sample_config.yaml | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml index 8777e3254d..05506a7787 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml @@ -1971,7 +1971,8 @@ sso: # * HTML page for a confirmation step before redirecting back to the client # with the login token: 'sso_redirect_confirm.html'. # - # When rendering, this template is given three variables: + # When rendering, this template is given the following variables: + # # * redirect_url: the URL the user is about to be redirected to. Needs # manual escaping (see # https://jinja.palletsprojects.com/en/2.11.x/templates/#html-escaping). @@ -1984,6 +1985,17 @@ sso: # # * server_name: the homeserver's name. # + # * new_user: a boolean indicating whether this is the user's first time + # logging in. + # + # * user_id: the user's matrix ID. + # + # * user_profile.avatar_url: an MXC URI for the user's avatar, if any. + # None if the user has not set an avatar. + # + # * user_profile.display_name: the user's display name. None if the user + # has not set a display name. + # # * HTML page which notifies the user that they are authenticating to confirm # an operation on their account during the user interactive authentication # process: 'sso_auth_confirm.html'. |