Provide oauth2login.tokenEndpoint config
Fixes gh-4506
This commit is contained in:
+3
-1
@@ -366,7 +366,9 @@ public class OAuth2LoginApplicationTests {
|
||||
.anyRequest().authenticated()
|
||||
.and()
|
||||
.oauth2Login()
|
||||
.authorizationCodeTokenExchanger(this.mockAuthorizationCodeTokenExchanger())
|
||||
.tokenEndpoint()
|
||||
.authorizationCodeTokenExchanger(this.mockAuthorizationCodeTokenExchanger())
|
||||
.and()
|
||||
.userInfoEndpoint()
|
||||
.userInfoService(this.mockUserInfoService());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user