oidc dashboard login
This commit is contained in:
11
dashboard/src/authcallback.html
Normal file
11
dashboard/src/authcallback.html
Normal 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>
|
||||
Reference in New Issue
Block a user