Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Couldn't you use JWT's with both an access token and a refresh token? The access token can have a fairly short expiry time, after which you hit the auth service with the refresh token, at which point you can handle any token invalidation, while still allowing most of your requests to go through just using the JWT.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: