fix: oauth login

This commit is contained in:
Lakhan Samani
2022-03-07 08:31:39 +05:30
parent 07552bc0b1
commit e61dc2f08a
5 changed files with 83 additions and 31 deletions

View File

@@ -8,8 +8,8 @@
(function (window, document) {
var targetOrigin = {{.target_origin}};
var authorizationResponse = {{.authorization_response}};
var mainWin = window.parent;
mainWin.postMessage(authorizationResponse, targetOrigin);
console.log({targetOrigin})
window.parent.postMessage(authorizationResponse, targetOrigin);
})(this, this.document);
</script>
</body>