summaryrefslogtreecommitdiff
path: root/jitsi-meet/static/oauth.html
diff options
context:
space:
mode:
authorAntoine Ouvrard <antoine.ouvrard@nereide.fr>2020-11-23 10:28:32 +0100
committerAntoine Ouvrard <antoine.ouvrard@nereide.fr>2020-11-23 10:28:32 +0100
commitd3277d65639ef43230b71305922b5ccf33d86083 (patch)
tree87455d87a534c1bcb33a34290b840b68e573df96 /jitsi-meet/static/oauth.html
initial commit
Diffstat (limited to 'jitsi-meet/static/oauth.html')
-rw-r--r--jitsi-meet/static/oauth.html27
1 files changed, 27 insertions, 0 deletions
diff --git a/jitsi-meet/static/oauth.html b/jitsi-meet/static/oauth.html
new file mode 100644
index 0000000..b5e082e
--- /dev/null
+++ b/jitsi-meet/static/oauth.html
@@ -0,0 +1,27 @@
+<html itemscope itemtype="http://schema.org/Product" prefix="og: http://ogp.me/ns#" xmlns="http://www.w3.org/1999/html">
+<head>
+ <meta charset="utf-8">
+ <meta http-equiv="content-type" content="text/html;charset=utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <!--#include virtual="/base.html" -->
+ <!--#include virtual="/title.html" -->
+ <script>
+ (function() {
+ var windowName = window.name;
+ var parentWindow = window.opener;
+ if (parentWindow
+ && parentWindow.JitsiMeetJS
+ && parentWindow.JitsiMeetJS.app) {
+ var globalNS = parentWindow.JitsiMeetJS.app;
+ if (globalNS.oauthCallbacks
+ && typeof globalNS.oauthCallbacks[windowName]
+ === 'function') {
+ globalNS.oauthCallbacks[windowName](window.location.href);
+ }
+ }
+ })();
+ </script>
+</head>
+<body>
+</body>
+</html>