Support CORS on AT-TLS
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 92
- Forks
- 81
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 46
Description
Is your feature request related to a problem? Please describe.
AT-TLS support for UIs currently requires additional configuration on the services' side if they are going to send requests affected by CORS.
i.e. they need to provide additional metadata:
"apiml.corsEnabled": "true",
"apiml.corsAllowedOrigins": <gateway_url>,<apicatalog_url>
This is because in API ML perspective the server runs with SSL disabled under these conditions and it is a different URL as the one coming from the browser on AT-TLS (https)
This is something we also use as a workaround for our own applications to work with AT-TLS (for the API Catalog)
This is also not properly documented for extenders.
Describe the solution you'd like
API ML should take into account the AT-TLS settings, which it already uses, to handle this scenario without the need to have additional metadata from services.
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 tracing how API ML reads AT-TLS settings and how it currently handles CORS metadata for services. Confirm the behavior with AT-TLS requests and existing API Catalog applications; the work is done when CORS works without service-provided metadata and the AT-TLS requirement is documented for extenders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- api, security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100