Relative Content

Tag Archive for javaspringspring-securityjwt

Authentication error using JWT token in Spring Security

I have a problem with using JWT tokens in Spring Security. I have configured a Spring configuration file using a JWT filter in it. But the difficulty arises in that I can only register a user and receive a token from him, with which I can then make other requests. But if I don’t create a user, but just want to authenticate via login/password to get a token, then I’m getting weird errors in POSTMAN
Configuration file: