芋道 Spring Security OAuth2 入门的问题
CristianoYang opened this issue · 5 comments
CristianoYang commented
小白按照教程一步步来,但是密码模式post请求总是返回401,这是为什么呀,头秃。
CristianoYang commented
@OverRide
public void configure(AuthorizationServerSecurityConfigurer oauthServer) throws Exception {
oauthServer.checkTokenAccess("isAuthenticated()");
}
把这个删了就行了。。。
FateFrank commented
YunaiV commented
要带上客户端认证的哈。
后面,我把模拟请求改成 IDEA Rest Client 插件,方便大家理解~
liubinylx commented
FableFatale commented
同样的问题

