OpenAPITools / OpenAPITools/openapi-generator
[FEATURE] [SPRING-CLOUD] Configuration for token and authorization url
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 26.8k
- Forks
- 7.7k
- PR merge metrics
- PR metrics pending
Description
Is your feature request related to a problem? Please describe.
There is no way to override the token url and authorization url in the client configuration.
That is why, for example, it is difficult to use the generated configuration code for multi teneancy. It cannot not be used for that scenario.
Describe the solution you'd like
I would generate a properties class (as recommended by Spring) with all setting options and inject them into the configuration class.
https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html
Describe alternatives you've considered
Alternatively @Value could be used, but is not recommended.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the generated Spring Cloud client configuration and reviewing Spring Boot's external-configuration guidance linked in the issue. The change is complete when generated configuration exposes overridable token and authorization URLs through a properties class suitable for multi-tenancy.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring, spring-boot
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100