oidc dashboard login

This commit is contained in:
Johannes Zellner
2023-06-02 20:47:36 +02:00
parent 35efdf6cbd
commit 2c334170bd
6 changed files with 97 additions and 13 deletions

View File

@@ -0,0 +1,11 @@
<script>
var tmp = window.location.hash.slice(1).split('&');
tmp.forEach(function (pair) {
if (pair.indexOf('access_token=') === 0) localStorage.token = pair.split('=')[1];
});
window.location.href = '/';
</script>