GT2/GT2-iOS/node_modules/auth0-js/example/callback.html

17 lines
484 B
HTML
Raw Normal View History

2018-02-12 17:26:06 +00:00
<!DOCTYPE html>
<html>
<head>
<script src="/auth0.js"></script>
<script type="text/javascript">
var auth0 = new Auth0({
domain: 'mdocs.auth0.com',
clientID: '0HP71GSd6PuoRYJ3DXKdiXCUUdGmBbup'
});
var result = auth0.parseHash(window.location.hash);
if (result) {
parent.postMessage(result, "http://localhost:9999/"); //The second parameter should be your domain
}
</script>
</head>
<body></body>
</html>