|
|
|
@ -110,7 +110,7 @@ public class OAuth2ClientPropertiesRegistrationAdapterTests {
|
|
|
|
|
assertThat(adapted.getAuthorizationGrantType()).isEqualTo(
|
|
|
|
|
org.springframework.security.oauth2.core.AuthorizationGrantType.AUTHORIZATION_CODE);
|
|
|
|
|
assertThat(adapted.getRedirectUri()).isEqualTo(
|
|
|
|
|
"{scheme}://{serverName}:{serverPort}{contextPath}/oauth2/authorize/code/{clientAlias}");
|
|
|
|
|
"{scheme}://{serverName}:{serverPort}{contextPath}/oauth2/authorize/code/{registrationId}");
|
|
|
|
|
assertThat(adapted.getScope()).containsExactly("openid", "profile", "email",
|
|
|
|
|
"address", "phone");
|
|
|
|
|
assertThat(adapted.getClientName()).isEqualTo("Google");
|
|
|
|
|