Spring OAuth2 - There is no client authentication. Try adding an appropriate authentication filter

后端 未结 5 1041
梦毁少年i
梦毁少年i 2020-12-30 04:55

We have an application which is using spring-security-oauth2:1.0. I was trying to change it to a newer version, spring-security-oauth2:2.0.7.RELEASE

5条回答
  •  梦毁少年i
    2020-12-30 05:34

    The problem can be because of opening all requests. You should remove it.

     @Override
    public void configure(WebSecurity web) throws Exception {
        web
                .ignoring()
                .antMatchers("/**");
    }
    

提交回复
热议问题