Able to hit the secured endpoint from browser but not from postman/insomnia getting 401 unathorized
pom dependency:
spring boot starter security
spring boot starter oauth2 client
In Spring Boot 3.3.0 @PreAuthorize with SpEL expressions not working?
In spring boot 3.3.0 @PreAuthorize with SpEL is not working