diff --git a/samples/client/petstore/spring-cloud-auth/pom.xml b/samples/client/petstore/spring-cloud-auth/pom.xml
index c9825640bc19..849342c3822e 100644
--- a/samples/client/petstore/spring-cloud-auth/pom.xml
+++ b/samples/client/petstore/spring-cloud-auth/pom.xml
@@ -48,7 +48,7 @@
org.springframework.security
spring-security-oauth2-client
- 5.7.8
+ 7.0.0
com.fasterxml.jackson.datatype