How to push oath token to LocalStorage or LocalSession and listen to the Storage Event? (SoundCloud Php/JS bug workaround)
Posted
by
afxjzs
on Stack Overflow
See other posts from Stack Overflow
or by afxjzs
Published on 2012-05-31T22:38:29Z
Indexed on
2012/05/31
22:40 UTC
Read the original article
Hit count: 269
This references this issue: Javascript SDK connect() function not working in chrome
I asked for more information on how to resolve with localstorage and was asked to create a new topic.
The answer was "A workaround is instead of using window.opener, push the oauth token into LocalStorage or SessionStorage and have the opener window listen to the Storage event."
but i have no idea how to do that. It seems really simple, but i don't know where to start. I couldn't find an relevant examples.
thanks for your help!
© Stack Overflow or respective owner