diff --git a/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc b/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc index d0e2603b..1ac45ab4 100644 --- a/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc +++ b/docs/modules/ROOT/pages/spring-cloud-openfeign.adoc @@ -853,7 +853,8 @@ TIP: DO NOT annotate the `@FeignClient` interface with the `@RefreshScope` annot [[oauth2-support]] === OAuth2 Support -OAuth2 support can be enabled by setting following flag: + +OAuth2 support can be enabled by adding the `spring-boot-starter-oauth2-client` dependency to your project and setting following flag: ---- spring.cloud.openfeign.oauth2.enabled=true ----