Skip to content

Commit

Permalink
feat: redirect /cxl-sso to https://cxl.com/institute/oauth/authorize
Browse files Browse the repository at this point in the history
  • Loading branch information
anoblet committed Oct 14, 2024
1 parent 7337d9f commit f5bd1fd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions platforms/web/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@

<!-- Manifest -->
<link rel="manifest" href="/manifest.json" />

<script>
if(location.pathname === '/cxl-sso'){
const params = new URLSearchParams(location.search);
params.delete('app-config');

location.replace(`https://cxl.com/institute/oauth/authorize/?${params}`);
}
</script>
</head>
<body>
<div id="root"></div>
Expand Down

0 comments on commit f5bd1fd

Please sign in to comment.