diff --git a/spring-5-security-oauth/pom.xml b/spring-5-security-oauth/pom.xml
index 40d54bf668..325aacea86 100644
--- a/spring-5-security-oauth/pom.xml
+++ b/spring-5-security-oauth/pom.xml
@@ -37,7 +37,7 @@
org.springframework.security.oauth.boot
spring-security-oauth2-autoconfigure
- ${oauth-auto.version}
+ ${spring-boot.version}
org.springframework.security
@@ -65,8 +65,6 @@
- 2.1.0.RELEASE
- 2.1.0.RELEASE
com.baeldung.oauth2.SpringOAuthApplication