cgsdev0 / rollycubes

online multiplayer dice game
https://rollycubes.com/
MIT License
19 stars 10 forks source link

we don't refresh your access token #97

Closed cgsdev0 closed 1 year ago

cgsdev0 commented 1 year ago

Describe the bug access tokens expire after 1 hour. we don't currently refresh them in the client, so long-lived client sessions will require the user to refresh the page.

we should add logic to the client to determine when the token has expired, and then refresh it