进行IllegalStateException, UserDetailsService is required.
在进行走refresh_token的时候需要UserDetailsService
具体代码
@Autowired
private UserDetailsService userDetailsServiceBean;
@Override
public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
endpoints.tokenStore(tokenStore()).userDetailsService(userDetailsServiceBean);
}
原创小于 1 分钟