DEV Community

[Comment from a deleted post]
 
mattferderer profile image
Matt Ferderer

I've been researching this a lot lately as I'm working on some API templates. Here's what I've learned so far.

JWT can be used with OAuth or without. They are not really competing tech. The biggest benefit of JWT is it can prevent database queries to check the users access and permissions since it contains that info in the request.