Using JSON Web Token instead of sessions


#1

Hi,

has somebody experience in using authentication with jwt instead of sessions? Maybe with SpringSecurity?

I found an article on how to set up Spring Security from 2015.

Does this still work with the new versions?

Thanks in advance!


#2

AFAIK it should still work, though I haven’t tried it myself. Take a look at:

https://bloomreach-forge.github.io/hst-spring-security/