owl-corp / thallium

MIT License
2 stars 0 forks source link

JWT refresh handling #7

Open jb3 opened 2 months ago

jb3 commented 2 months ago

We should look at the exp field in JWTs received from the backend and attempt to revalidate them before they expire. We could look into using Service Workers to do this revalidation and handle token refresh for any open tabs, or even in the background (within a reasonable time-frame).