disable http authentication when call /oauth/token in spring oauth

Viewed 1150

I write oAuth Server with spring framework configure client like this

@Override
public void configure(ClientDetailsServiceConfigurer clientDetailsServiceConfigurer) throws Exception {
    clientDetailsServiceConfigurer.inMemory()
            .withClient("aaaa")
            .secret("bbbb")
            .scopes("email")
            .authorizedGrantTypes("authorization_code")
            .authorities("test");

}

but when i call /oauth/token method this method ask for http basic authentication i want disabled http authentication

0 Answers
Related