Files
authorizer/templates/authorize.tmpl

17 lines
412 B
Cheetah
Raw Normal View History

2022-02-28 21:26:49 +05:30
<!DOCTYPE html>
<html>
<head>
<title>Authorization Response</title>
</head>
<body>
<script type="text/javascript">
(function (window, document) {
2022-03-04 00:36:27 +05:30
var targetOrigin = {{.target_origin}};
var authorizationResponse = {{.authorization_response}};
2022-02-28 21:26:49 +05:30
var mainWin = window.parent;
mainWin.postMessage(authorizationResponse, targetOrigin);
})(this, this.document);
</script>
</body>
</html>