News for hackers. Stuff that matters.
Re:Why is OAuth still hard in 2023? by sytringy05 on Wednesday April 26, 2023 @08:49PM (#35721893)
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

There are no comments on this comment yet.