fix: SSO in web

This commit is contained in:
Serra Allgood 2022-02-13 17:29:04 +00:00 committed by Krille Fear
commit 4888f7528d
4 changed files with 33 additions and 11 deletions

14
web/auth.html Normal file
View file

@ -0,0 +1,14 @@
<!DOCTYPE html>
<head>
<title>Authentication complete</title>
</head>
<body>
<p>Authentication is complete. If this does not happen automatically, please
close the window.
<script>
window.opener.postMessage({
'flutter-web-auth': window.location.href
}, window.location.origin);
window.close();
</script>
</body>