1
0
mirror of synced 2026-08-05 01:36:56 +00:00

Provide oauth2login.tokenEndpoint config

Fixes gh-4506
This commit is contained in:
Joe Grandja
2017-08-22 14:46:41 -04:00
parent c06975080f
commit 91b0bd4ba5
2 changed files with 33 additions and 15 deletions
@@ -366,7 +366,9 @@ public class OAuth2LoginApplicationTests {
.anyRequest().authenticated()
.and()
.oauth2Login()
.authorizationCodeTokenExchanger(this.mockAuthorizationCodeTokenExchanger())
.tokenEndpoint()
.authorizationCodeTokenExchanger(this.mockAuthorizationCodeTokenExchanger())
.and()
.userInfoEndpoint()
.userInfoService(this.mockUserInfoService());
}