We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f73918d commit 4445236Copy full SHA for 4445236
web-assets/static-pages/sso-login/index.html
@@ -0,0 +1,27 @@
1
+<!DOCTYPE html>
2
+<html lang="en">
3
+ <head>
4
+ <title>Login</title>
5
+ <meta charset="utf-8" />
6
+ <meta http-equiv="X-UA-Compatible" content="IE=edge" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
+ <script>
9
+ var url = window.location.href;
10
+ var result = url.match(/^(.+)(\/(.+)\/)(\/?)(.+)/);
11
+ var host = window.location.host;
12
+ host = "https://" + host;
13
+ var newUrl = host;
14
+ if (result) {
15
+ try {
16
+ newUrl = host + result[5];
17
+ console.log("new url: ", newUrl);
18
+ } catch (e) {
19
+ console.log("Creating new url error: ", e.message);
20
+ }
21
22
+ window.location.href = newUrl;
23
+ </script>
24
+ </head>
25
+ <body>
26
+ </body>
27
+ </html>
0 commit comments