summary refs log tree commit diff
path: root/synapse/res
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
commitb2bd54a2e31d9a248f73fadb184ae9b4cbdb49f9 (patch)
tree409b30e1dfc1bfd0951e5497a9fce4bb6418ce5a /synapse/res
parentCast a coroutine into a Deferred in the federation base (#6996) (diff)
downloadsynapse-b2bd54a2e31d9a248f73fadb184ae9b4cbdb49f9.tar.xz
Add a confirmation step to the SSO login flow
Diffstat (limited to 'synapse/res')
-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