We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 329c02c commit 698d5f5Copy full SHA for 698d5f5
1 file changed
public/auth.js
@@ -0,0 +1,6 @@
1
+window.addEventListener('message', (event) => {
2
+ if (event.data.type === 'TOKEN_RECEIVED') {
3
+ // Forward to content script
4
+ window.postMessage(event.data, '*')
5
+ }
6
+})
0 commit comments