Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configure CORS for api requests #119

Closed
HWouters opened this issue Feb 20, 2022 · 6 comments
Closed

Configure CORS for api requests #119

HWouters opened this issue Feb 20, 2022 · 6 comments
Assignees
Labels
roadmap This feature is on the roadmap

Comments

@HWouters
Copy link

Is CORS support for api requests like app service on the roadmap?

@kendallroden kendallroden added investigating currently looking into the issue roadmap This feature is on the roadmap labels Feb 23, 2022
@kendallroden
Copy link
Contributor

We will be providing CORS support in Container Apps and will provide additional details in the future

@kendallroden kendallroden removed the investigating currently looking into the issue label Feb 28, 2022
@Alec13355
Copy link

@HWouters, @ahmelsayed, or @kendallroden is there a timeline on this or a workaround until it's fully implemented?

@JamesDawson
Copy link

We are hitting this too, whilst trying to migrate a number of APIs from Azure Functions to Container Apps, which are consumed by an Azure Static Web App.

Our migration effort is blocked right now, so it would be useful to get some clarity on the timeline for this roadmap feature?

@HWouters
Copy link
Author

@JamesDawson @Alec13355, with Azure Container Apps it's much easier to add CORS middlewear (in comparison with Azure Functions). At least it's a workaround and this missing CORS feature doesn't need to be a blocker.

@cannehag
Copy link

cannehag commented Aug 23, 2022

@HWouters

@JamesDawson @Alec13355, with Azure Container Apps it's much easier to add CORS middlewear (in comparison with Azure Functions). At least it's a workaround and this missing CORS feature doesn't need to be a blocker.

I don't see how this helps since I do have that middleware configured but the headers are not returned. I think the container app responds before it hits my api if it's a CORS options request

@torosent
Copy link
Member

torosent commented Dec 6, 2022

CORS is now available in ARM/Bicep
ref #359

@torosent torosent closed this as completed Dec 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
roadmap This feature is on the roadmap
Projects
None yet
Development

No branches or pull requests

7 participants