zetkin / zetkin.js

Javascript SDK for the Zetkin Platform API
0 stars 2 forks source link

Retry request when token is stale #25

Closed richardolsson closed 6 years ago

richardolsson commented 6 years ago

If a request fails due to a stale token, discard the token and retry the request before resolving/rejecting. Some API calls work anonymously.

Related to zetkin/express-zetkin-auth#1