You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Elio! Just wondering how long the auth token should last, or in what circumstances it would have to re-authenticate? It seems to be doing it every couple of days for me, and (from what I can tell) its not because I'm restarting Homebridge or anything like that.
Anyway - I love the plugin, its been a great help in stopping my family from bursting into my office when I'm on a call! 🚨
The text was updated successfully, but these errors were encountered:
The plugin stores the refresh token and will fetch an access token when performing a call. As normally, the access token has a lifetime of 60min.
Refresh token has a longer lifetime. As the service will keep itself alive by requesting a new access token and updating the previous refresh token, it should never end up in a state where the refresh token has expired. Or someone revoked access.
Just in case to see what is happening, you can turn on the debug mode, and hopefully, it will show what is happening with requesting a new access token. You can do this by adding "debug": true to your config for the presence-switch accessory.
Hi Elio! Just wondering how long the auth token should last, or in what circumstances it would have to re-authenticate? It seems to be doing it every couple of days for me, and (from what I can tell) its not because I'm restarting Homebridge or anything like that.
Anyway - I love the plugin, its been a great help in stopping my family from bursting into my office when I'm on a call! 🚨
The text was updated successfully, but these errors were encountered: