Commit 2a13e840 authored by hubin's avatar hubin

登陆请求直接放行

parent 9f1836f8
......@@ -51,7 +51,7 @@ public class ResourceServerConfig {
http.oauth2ResourceServer().jwt()
.jwtAuthenticationConverter(jwtAuthenticationConverter());
http.authorizeExchange()
.pathMatchers("/oauth/token").permitAll()
.pathMatchers("**/oauth/token").permitAll()
.anyExchange().access(authorizationManager)
.and()
.exceptionHandling()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment