In docs there is no hint that:
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-oauth2-client</artifactId>
</dependency>
is required for spring.cloud.openfeign.oauth2.enabled=true to work.
Comment From: OlgaMaciaszek
Hello @tjuchniewicz, thanks for pointing this out. Will add it to docs.