oauth-zoom-callback.html 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1" />
  6. <title>Zoom sign-in complete</title>
  7. <style>
  8. body {
  9. font-family: system-ui, -apple-system, sans-serif;
  10. max-width: 32rem;
  11. margin: 4rem auto;
  12. padding: 0 1.25rem;
  13. color: #1a1a1a;
  14. line-height: 1.5;
  15. }
  16. </style>
  17. </head>
  18. <body>
  19. <h1>Sign-in complete</h1>
  20. <p>
  21. You can return to <strong>Companion AI for Zoom</strong>. If the Mac app did not close the sign-in window,
  22. close this tab and continue in the app.
  23. </p>
  24. <script>
  25. // Optional fallback when OAuth runs outside the in-app web view:
  26. // forward code/state to the local listener used for legacy loopback flows.
  27. (function () {
  28. try {
  29. var q = window.location.search || "";
  30. if (!q) return;
  31. var loopback = "http://127.0.0.1:8742/oauth2redirect" + q;
  32. // Prefer staying on HTTPS for the in-app WKWebView intercept path.
  33. // Uncomment to also attempt loopback handoff for external browsers:
  34. // window.location.replace(loopback);
  35. } catch (e) {}
  36. })();
  37. </script>
  38. </body>
  39. </html>