From fb614c64da9e3c5a3c4a03ffa7a01973b4ded794 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Mon, 8 Jan 2018 18:08:32 -0800 Subject: [PATCH] Revert "Build against Spring Security 5.0.1 SNAPSHOT" This reverts commit 2c52b9e87a3b86a349b4dc4a19adcfdfcf19886b since the SNAPSHOT BOM doesn't appear to be published. See gh-11573 --- .../OAuth2ClientPropertiesRegistrationAdapterTests.java | 6 ++++-- spring-boot-project/spring-boot-dependencies/pom.xml | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2ClientPropertiesRegistrationAdapterTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2ClientPropertiesRegistrationAdapterTests.java index e413176890..90eefc1266 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2ClientPropertiesRegistrationAdapterTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/security/oauth2/client/OAuth2ClientPropertiesRegistrationAdapterTests.java @@ -119,7 +119,8 @@ public class OAuth2ClientPropertiesRegistrationAdapterTests { org.springframework.security.oauth2.core.AuthorizationGrantType.AUTHORIZATION_CODE); assertThat(adapted.getRedirectUriTemplate()) .isEqualTo("{baseUrl}/login/oauth2/code/{registrationId}"); - assertThat(adapted.getScopes()).containsExactly("openid", "profile", "email"); + assertThat(adapted.getScopes()).containsExactly("openid", "profile", "email", + "address", "phone"); assertThat(adapted.getClientName()).isEqualTo("Google"); } @@ -202,7 +203,8 @@ public class OAuth2ClientPropertiesRegistrationAdapterTests { org.springframework.security.oauth2.core.AuthorizationGrantType.AUTHORIZATION_CODE); assertThat(adapted.getRedirectUriTemplate()) .isEqualTo("{baseUrl}/login/oauth2/code/{registrationId}"); - assertThat(adapted.getScopes()).containsExactly("openid", "profile", "email"); + assertThat(adapted.getScopes()).containsExactly("openid", "profile", "email", + "address", "phone"); assertThat(adapted.getClientName()).isEqualTo("Google"); } diff --git a/spring-boot-project/spring-boot-dependencies/pom.xml b/spring-boot-project/spring-boot-dependencies/pom.xml index 12268fe850..35aed55a13 100644 --- a/spring-boot-project/spring-boot-dependencies/pom.xml +++ b/spring-boot-project/spring-boot-dependencies/pom.xml @@ -154,7 +154,7 @@ 1.2.0.RELEASE 2.0.0.RELEASE 1.2.2.RELEASE - 5.0.1.BUILD-SNAPSHOT + 5.0.0.RELEASE 2.0.0.RC2 2.0.0.RC2 3.0.0.RELEASE