summary refs log tree commit diff
path: root/synapse/res/templates
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-03-02 16:36:32 +0000
committerBrendan Abolivier <babolivier@matrix.org>2020-03-02 16:36:32 +0000
commit2e7fad87d4d2bbae40c06850a49be3df2ab70248 (patch)
tree409b30e1dfc1bfd0951e5497a9fce4bb6418ce5a /synapse/res/templates
parentCast a coroutine into a Deferred in the federation base (#6996) (diff)
parentAdd a confirmation step to the SSO login flow (diff)
downloadsynapse-2e7fad87d4d2bbae40c06850a49be3df2ab70248.tar.xz
Merge branch 'anoabolivier/sso-confirm' into 'release-v1.11.1'
Add a confirmation step to the SSO login flow

See merge request new-vector/synapse!2
Diffstat (limited to 'synapse/res/templates')
-rw-r--r--synapse/res/templates/sso_redirect_confirm.html14
1 files changed, 14 insertions, 0 deletions
diff --git a/synapse/res/templates/sso_redirect_confirm.html b/synapse/res/templates/sso_redirect_confirm.html
new file mode 100644
index 0000000000..20a15e1e74
--- /dev/null
+++ b/synapse/res/templates/sso_redirect_confirm.html
@@ -0,0 +1,14 @@
+<!DOCTYPE html>
+<html lang="en">
+<head>
+    <meta charset="UTF-8">
+    <title>SSO redirect confirmation</title>
+</head>
+    <body>
+        <p>The application at <span style="font-weight:bold">{{ display_url | e }}</span> is requesting full access to your <span style="font-weight:bold">{{ server_name }}</span> Matrix account.</p>
+        <p>If you don't recognise this address, you should ignore this and close this tab.</p>
+        <p>
+            <a href="{{ redirect_url | e }}">I trust this address</a>
+        </p>
+    </body>
+</html>
\ No newline at end of file