Skip to content

Commit

Permalink
foo
Browse files Browse the repository at this point in the history
  • Loading branch information
mroz22 committed Jul 9, 2020
1 parent ee71844 commit ea0f1e3
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions react-src/public/oauth/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!-- completely unrelated to this project. copy to public folder after build to enable oauth for trezor
suite labeling -->

<html>
<head></head>
<body>
<script>
if (window.ipcRenderer) {
window.ipcRenderer.send('oauth-receiver', window.location.hash);
}
if (window.opener) {
window.opener.postMessage(window.location.hash, '*');
}
window.close();
</script>
</body>
</html>

0 comments on commit ea0f1e3

Please sign in to comment.