DEV Community

Discussion on: Spring Boot REST API authentication best practices using JWT

Collapse
 
jamietanna profile image
Jamie Tanna • Edited

What was the reason for not using Spring Security and its excellent JWT support? This seems like it's just going to lead to more maintenance overhead, and potential security issues?

Collapse
 
prafful profile image
Prafful Lachhwani

Hi Jamie, that's what I have discussed in this tutorial, we have added spring security and used JWT to do request filter.

Collapse
 
jamietanna profile image
Jamie Tanna

Sorry, so I was thinking in terms of Spring Security OAuth2.0 Resource Server JWT which provides an easier means for configuring and validation JWTs

Thread Thread
 
prafful profile image
Prafful Lachhwani

No worries, I will check this out, btw thanks for your comment :)