feat: add form_post method
This commit is contained in:
15
templates/authorize_web_message.tmpl
Normal file
15
templates/authorize_web_message.tmpl
Normal file
@@ -0,0 +1,15 @@
|
||||
<!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>
|
Reference in New Issue
Block a user