SpringSecurity自定义跳转路径验证token
配置文件:
1 #oauth2客户端配置 2 security: 3 oauth2: 4 client: 5 client-id: rOOM15Zbc3UFWgW2h71gRFvi 6 client-secret: 2Iw2B0UCMYd1cZjt8Fpr4KJUx75wQCwW 7 access-token-uri: http://127.0.0.1:8211/oauth/token 8 user-authorization-uri: http://127.0.0.1:8211/oauth/authorize 9 resource: 10 token-info-uri: http://127.0.0.1:8211/oauth/check_token
springsecurity的自动配置类:
org.springframework.boot.autoconfigure.security.oauth2.resource.ResourceServerProperties