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

The whole point of access tokens is to not do expensive checks on every request. Signature checks out and isn't expired - you are free to go. This is a core design thing of OAuth, once access tokens are out the door they are very hard to stop, so only let them last for 5 or 10 mins and use refresh tokens to get new access tokens.

Refresh tokens are your chance to do all the expensive checks - maybe you are IP restricted or want to step up with MFA etc etc. Check revocation etc



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

Search: