Spring Security returns 403 with valid JWT
问题 I'm using Postman to test a simple OAuth2 API I'm creating in Spring Boot 2.2.6 with Spring Security. I successfully receive a JWT when requesting new user credentials, but all of my endpoints return a 403 Forbidden error when I attempt to access them with this token in my headers. My classes are as follows: My server security configuration: @Configuration @EnableWebSecurity @Order(1) @EnableGlobalMethodSecurity(prePostEnabled = true, proxyTargetClass = true) class ServerSecurityConfiguration