Files
cloudron-box/dashboard/src/authcallback.html
Johannes Zellner 2c334170bd oidc dashboard login
2023-06-04 17:39:29 +02:00

12 lines
223 B
HTML

<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>