Refresh access token without reloading the page! (now you won't be disrupted in the middle of anything important πŸ˜‰)

How are you doing this, Ethan?

0 Likes
Ethan Author

I already got the access token without reloading the page by making an HTTP request using JavaScript. The problem was, I needed to reload for it to take effect. I managed to get the program back into a syncing loop despite the errors that triggered the new access token being requested in the first place.

0 Likes
Ethan Author

So basically getting my app to keep working after everything has stuffed up

0 Likes

That's cool. This approach sounds really cool.

0 Likes
Ethan Author

Because the program knows that now it will work.

0 Likes

Please sign in to leave a comment.