Relative Content

Tag Archive for spring-bootspring-securityjwt

forbidden response in implemented jwt authentication

I am developing and spring-boot application and to do some testing regarding the functionality of the jwt i created 2 endpoints one that returns all the information regarding the user and the second one that returns all the users in the db.

Authentication issue in Spring Security: BadCredentials thrown during login

I’m encountering an authentication problem in my Spring Security setup, where a BadCredentialsException is being thrown during the login process. Despite providing correct credentials, the application fails to authenticate the user. I’ve investigated the issue but haven’t been able to pinpoint the exact cause. Here are the details of my setup