Remove explicit call to `authorizationCodeGrant`

See gh-13812
pull/14230/merge
Madhura Bhave 6 years ago
parent f5deebf0cb
commit a54898b8f5

@ -61,7 +61,7 @@ class OAuth2WebSecurityConfiguration {
@Override
protected void configure(HttpSecurity http) throws Exception {
http.authorizeRequests().anyRequest().authenticated().and().oauth2Login()
.and().oauth2Client().authorizationCodeGrant();
.and().oauth2Client();
}
}

Loading…
Cancel
Save