authorizer/templates/authorize.tmpl

17 lines
410 B
Cheetah
Raw Normal View History

2022-02-28 15:56:49 +00:00
<!DOCTYPE html>
<html>
<head>
<title>Authorization Response</title>
</head>
<body>
<script type="text/javascript">
(function (window, document) {
var targetOrigin = {{.targetOrigin}};
var authorizationResponse = {{.authorizationResponse}};
var mainWin = window.parent;
mainWin.postMessage(authorizationResponse, targetOrigin);
})(this, this.document);
</script>
</body>
</html>