Closed sdack-cloud closed 7 months ago
org.springframework.restdocs:spring-restdocs-mockmvc:3.0.1
This doesn't really have anything to do with Spring REST Docs as you'd see the same behavior with MockMvc alone. You need to configure MockMvc
to interact with Spring Security as described in the Spring Security documentation.
resource server
I passed TOKEN during the request
There is a token value in HttpServletRequest, But JwtAuthenticationToken is null