Remove explicit call to `authorizationCodeGrant`

See gh-13812
This commit is contained in:
Madhura Bhave 2018-08-28 13:56:03 -07:00
parent f5deebf0cb
commit a54898b8f5
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
}