Answers for "bearer error="unauthorized", error_description="there is no client authentication. try adding an appropriate authentication filter.""

0

There is no client authentication. Try adding an appropriate authentication filter

//You should check WebSecurityConfigurerAdapter method like this:

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

//remove "/oauth/**" path. otherwise

//.postAccessToken(Principal principal, @RequestParam Map<String, String> parameters)

//principal will be null.
Posted by: Guest on November-24-2020

Code answers related to "bearer error="unauthorized", error_description="there is no client authentication. try adding an appropriate authentication filter.""

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language