summary refs log tree commit diff
path: root/synapse/res/templates/sso_auth_success.html
blob: afeffb719141f705efa04420b57e227f386db132 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
{% extends "_base.html" %}
{% block title %}Authentication successful{% endblock %}

{% block header %}
<style type="text/css">
    {% include "sso.css" without context %}
</style>
<script>
    if (window.onAuthDone) {
        window.onAuthDone();
    } else if (window.opener && window.opener.postMessage) {
        window.opener.postMessage("authDone", "*");
    }
</script>
{% endblock %}

{% block body %}
<header>
    <h1>Thank you</h1>
    <p>
        Now we know it’s you, you can close this window and return to the
        application.
    </p>
</header>
{% include "sso_footer.html" without context %}
{% endblock %}