r/SpringBoot • u/Jooe_1 • Sep 16 '26
Discussion (JWT) different ways to implement it ,what most devs do for that case
to make JWT authentication in the application, I could not find like standard way to implementing it
my knowledge is that people create their own authentication filter + handeling the AuthenticationEntryPoint to return the exact right response when exception happen
is that the standard way that engineers follow to implement jwt authentication in the application?
29
Upvotes
View all comments
Show parent comment
4
u/bikeram Sep 16 '26
This.
I spent 2-3 months implementing auth my first time. It’s definitely a good learning experience, and you can basically copy and paste it between projects.
But I’ve used auth0 or cognito for every other project. Zero regrets.