ActivityWatch / activitywatch-old

[DEPRECATED] :watch: Logs your computer activities, a RescueTime replacement.
MIT License
16 stars 2 forks source link

[ZenobaseLogger] Attempt to reauthenticate when HTTP response code is 401 #5

Open ErikBjare opened 8 years ago

ErikBjare commented 8 years ago

Tokens expire, so we need to reauth when we start getting 401 messages after a while.

Might be something to consider implementing in PyZenobase, but probably not.

ejain commented 8 years ago

Tokens expire after one month--unless I accidentally delete them :-) Tokens obtained via an "implicit grant" don't expire, but obtaining them is a bit more involved (see API docs)...

ErikBjare commented 8 years ago

Ah, good to know! Thanks :+1: