Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

xsrf token sometimes needs to be reloaded #51

Closed
simon-weber opened this issue Mar 24, 2016 · 0 comments
Closed

xsrf token sometimes needs to be reloaded #51

simon-weber opened this issue Mar 24, 2016 · 0 comments
Labels

Comments

@simon-weber
Copy link
Owner

So I had suspected this as a problem for a while, but I hadn't confirmed it until now, when I accidentally recreated it on my account.

streamingloadalltracks turned out to be the key, since it actually sends back json. I was getting back:

{"success":false, "reloadXsrf": true}

Sure enough, the xt cookie had been changed.

We'll need to have the background script detect this and send a message to the content script to retrieve it. I confirmed that window._GU_getCookie('xt') returns the new token.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant