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

Isn't the original problem that someone could steal the long-lived cookie in the first place?


The intent is not to provide an "unstealable" token, but a revocable one. You can't (don't need to) revoke the refresh token but you can revoke the access token by disallowing refresh.


The long term cookie requires authentication from a service (e.g. maybe a database backed session), and the service can invalidate a particular cookie on logout, or by user request.




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

Search: