Update config

2.0.0
monkeyk7 2018-04-21 12:38:14 +08:00
parent df96559693
commit 8ecc970f73
1 changed files with 1 additions and 0 deletions

View File

@ -154,6 +154,7 @@ public class OAuth2ServerConfiguration {
public void configure(AuthorizationServerEndpointsConfigurer endpoints) throws Exception {
endpoints.tokenStore(tokenStore)
.authorizationCodeServices(authorizationCodeServices)
.userDetailsService(userDetailsService)
.userApprovalHandler(userApprovalHandler())
.authenticationManager(authenticationManager);
}