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 d3508d6 commit 8bda27cCopy full SHA for 8bda27c
index.html
@@ -1,10 +1,17 @@
1
<!DOCTYPE html>
2
<html lang="en">
3
<head>
4
+<meta charset="UTF-8">
5
<script>
-console.log(location.search);
6
const urlParams = new URLSearchParams(window.location.search);
7
-window.location.replace(urlParams.get('state') + location.search);
+console.log(urlParams.get('state'));
8
+let cloudShellUrls = /https:\/\/gateway\d+\.\w+\.console\.azure\.com\/n\/cc-\w+\/cc-\w+\/proxy\//;
9
+if(urlParams.get('state').match(cloudShellUrls)){
10
+ window.location.replace(urlParams.get('state') + location.search);
11
+}
12
</script>
13
</head>
14
+<body>
15
+Unsupported redirect_uri <!-- This will show when the redirection did not happen -->
16
+</body>
17
</html>
0 commit comments