applicaster-oauth
Version:
this modules is a express.js middle to integrate with Applicaster's oauth authentication system accounts.applicaster.com
23 lines (19 loc) • 506 B
HTML
<html>
<head>
<meta charset="UTF-8">
<title>auth</title>
<script type="text/javascript">
window.onload = function() {
window.location.hash.split('&').forEach(function(hash) {
var h = hash.split('=');
if (h[0].indexOf('access_token') > -1) {
// console.log(h[1]);
window.location.href = '/?access_token='+h[1];
}
});
}
</script>
</head>
<body>
</body>
</html>