(no title)
cwales95 | 1 year ago
A lot of the advice I see now is about http-only cookies but I think I'd probably look more into oAuth in the future.
cwales95 | 1 year ago
A lot of the advice I see now is about http-only cookies but I think I'd probably look more into oAuth in the future.
skuxxlife|1 year ago
In my experience though, if you’re only doing web-based auth and don’t _need_ to use JWTs for a specific reason, just use regular session cookies, it’s way less hassle. Coordinating auth and refresh state across page refreshes and tabs is a pain, and using a refresh token means you’re using cookies and saved session state anyway, so you lose pretty much all of the unique benefits of using JWTs and still have all the downsides.