mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Adapt to Spring Security change
This commit is contained in:
parent
5649e8c92a
commit
edefacf7ac
@ -49,7 +49,7 @@ class OAuth2WebSecurityConfiguration {
|
||||
@Override
|
||||
protected void configure(HttpSecurity http) throws Exception {
|
||||
http.authorizeRequests().anyRequest().authenticated().and().oauth2Login()
|
||||
.clients(this.clientRegistrationRepository);
|
||||
.clientRegistrationRepository(this.clientRegistrationRepository);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user