feat: add userinfo + logout

This commit is contained in:
Lakhan Samani
2022-03-04 00:36:27 +05:30
parent 5c7d32ec16
commit 2946428ab8
7 changed files with 266 additions and 34 deletions

View File

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