Files
talk/views/auth-callback.ejs
T
2017-05-15 23:22:36 -03:00

13 lines
427 B
Plaintext

<!DOCTYPE html>
<html>
<body>
<script type="text/javascript">
<%/* set the auth data in localStorage, this will ensure that only
javascript on the same domain can access the data, they can listen
for updates by attaching to localStorage event changes */%>
localStorage.setItem('auth', '<%- auth %>');
setTimeout(function() { window.close(); }, 50);
</script>
</body>
</html>