spring-cloud / spring-cloud-openfeign

Support for using OpenFeign in Spring Cloud apps
Apache License 2.0
1.22k stars 786 forks source link

Configuration metadata for clientRegistrationId is missing/wrong #811

Closed xnart closed 1 year ago

xnart commented 1 year ago

Describe the bug clientRegistrationId config value is needed by Oauth2FeignConfiguration but spring-configuration-metadata.json file has it as registrationClientId

    {
      "name": "spring.cloud.openfeign.oauth2.registrationClientId",
      "type": "java.lang.String",
      "description": "Provides a clientId to be used with OAuth2.",
      "defaultValue": ""
    }

Sample It confused me, one of them should be replaced in my opinion.

OlgaMaciaszek commented 1 year ago

Thanks for reporting this, @xnart. That's right. Will fix it.