authorizer/templates/authorize_web_message.tmpl
2022-10-16 20:46:54 +05:30

16 lines
385 B
Cheetah

<!DOCTYPE html>
<html>
<head>
<title>Authorization Response</title>
</head>
<body>
<script type="text/javascript">
(function (window, document) {
var targetOrigin = {{.target_origin}};
var authorizationResponse = {{.authorization_response}};
window.parent.postMessage(authorizationResponse, targetOrigin);
})(this, this.document);
</script>
</body>
</html>