authorizer/templates/authorize.tmpl

16 lines
385 B
Cheetah
Raw Permalink 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) {
2022-03-03 19:06:27 +00:00
var targetOrigin = {{.target_origin}};
var authorizationResponse = {{.authorization_response}};
2022-03-07 03:01:39 +00:00
window.parent.postMessage(authorizationResponse, targetOrigin);
2022-02-28 15:56:49 +00:00
})(this, this.document);
</script>
</body>
</html>