Titan/webapp/titanembeds/templates/signin_complete.html.j2

18 lines
712 B
Plaintext
Raw Normal View History

<!DOCTYPE html>
<html>
<head>
<title>Sign in completed - Titan Embeds</title>
</head>
<body>
<p>Sign in complete! You may now close the window.</p>
2020-11-30 14:20:49 +01:00
<script src="https://cdnjs.cloudflare.com/ajax/libs/post-robot/10.0.42/post-robot.min.js" integrity="sha512-8rkatbA3uOONyiRqBiT5dvzaE7hWX6m0SpVr/4rpAxxuZX+Vjuvqp+DSmF1sQX3268hMk8BZxHVRdgHmuoDhXQ==" crossorigin="anonymous"></script>
<script>
2020-11-30 14:20:49 +01:00
const session = {{ session|tojson|safe }};
postRobot
.send(window.opener, 'setSession', { session: session })
.then(function () {
window.close();
});
</script>
</body>
</html>