fix: SSO in web
This commit is contained in:
parent
1830cad3b4
commit
4888f7528d
4 changed files with 33 additions and 11 deletions
14
web/auth.html
Normal file
14
web/auth.html
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue