File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Support SSO in the user interactive authentication workflow.
Original file line number Diff line number Diff line change @@ -1518,6 +1518,30 @@ sso:
15181518 #
15191519 # * server_name: the homeserver's name.
15201520 #
1521+ # * HTML page which notifies the user that they are authenticating to confirm
1522+ # an operation on their account during the user interactive authentication
1523+ # process: 'sso_auth_confirm.html'.
1524+ #
1525+ # When rendering, this template is given the following variables:
1526+ # * redirect_url: the URL the user is about to be redirected to. Needs
1527+ # manual escaping (see
1528+ # https://jinja.palletsprojects.com/en/2.11.x/templates/#html-escaping).
1529+ #
1530+ # * description: the operation which the user is being asked to confirm
1531+ #
1532+ # * HTML page shown after a successful user interactive authentication session:
1533+ # 'sso_auth_success.html'.
1534+ #
1535+ # Note that this page must include the JavaScript which notifies of a successful authentication
1536+ # (see https://matrix.org/docs/spec/client_server/r0.6.0#fallback).
1537+ #
1538+ # This template has no additional variables.
1539+ #
1540+ # * HTML page shown during single sign-on if a deactivated user (according to Synapse's database)
1541+ # attempts to login: 'sso_account_deactivated.html'.
1542+ #
1543+ # This template has no additional variables.
1544+ #
15211545 # You can see the default templates at:
15221546 # https://github.com/matrix-org/synapse/tree/master/synapse/res/templates
15231547 #
Original file line number Diff line number Diff line change @@ -113,6 +113,30 @@ def generate_config_section(self, **kwargs):
113113 #
114114 # * server_name: the homeserver's name.
115115 #
116+ # * HTML page which notifies the user that they are authenticating to confirm
117+ # an operation on their account during the user interactive authentication
118+ # process: 'sso_auth_confirm.html'.
119+ #
120+ # When rendering, this template is given the following variables:
121+ # * redirect_url: the URL the user is about to be redirected to. Needs
122+ # manual escaping (see
123+ # https://jinja.palletsprojects.com/en/2.11.x/templates/#html-escaping).
124+ #
125+ # * description: the operation which the user is being asked to confirm
126+ #
127+ # * HTML page shown after a successful user interactive authentication session:
128+ # 'sso_auth_success.html'.
129+ #
130+ # Note that this page must include the JavaScript which notifies of a successful authentication
131+ # (see https://matrix.org/docs/spec/client_server/r0.6.0#fallback).
132+ #
133+ # This template has no additional variables.
134+ #
135+ # * HTML page shown during single sign-on if a deactivated user (according to Synapse's database)
136+ # attempts to login: 'sso_account_deactivated.html'.
137+ #
138+ # This template has no additional variables.
139+ #
116140 # You can see the default templates at:
117141 # https://github.com/matrix-org/synapse/tree/master/synapse/res/templates
118142 #
You can’t perform that action at this time.
0 commit comments