试图解决我的申请中的CORS问题。在Spring文档中,我通过设置Csconfigurationsource找到了解决这个问题的方法。creating bean with name 'corsConfigurationSource' defined in class path resource [com/amrut/prabhu/oauth2-5.3.22.jar:5.3.22]
at org.springframework.boot.we
我的Spring应用程序通过使用OAuth2依赖项充当spring-boot-starter-oauth2-client客户端。现在,我想编写一个集成测试(@SpringBootTest)来验证由OAuth2保护的REST端点的行为。描述了使用mutateWith(mockOAuth2Client())通过OAuth2模拟登录是可能的。(DefaultWebTestClientBuilder.java:265)
at org.