Configuring Spring Security 6.1 in a Spring Boot application for basic authentication in a REST API
I am trying to configure Spring Security in a Spring Boot application for my REST API with basic authentication as follows:
i cannot authenticate even though i provide correct username and password what is wrong in my code
Whenever i try to authenticate postman sends me 403 status