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

Support cors_origins Wildcard domain #920

Open
f1amy opened this issue Jun 13, 2024 · 3 comments
Open

Support cors_origins Wildcard domain #920

f1amy opened this issue Jun 13, 2024 · 3 comments

Comments

@f1amy
Copy link

f1amy commented Jun 13, 2024

Our application is multi-tenant, we're handling users from a dynamic number of subdomains.

We would like to setup authorization for Mercure subscribers, but it seems that it not possible with current configuration.

We've tried: cors_origins https://*.example.com, but Access-Control-Allow-Origin header is not appearing in responses from Mercure.

What can we do to fix this issue?

@f1amy
Copy link
Author

f1amy commented Jun 13, 2024

It looks like using GET parameter authorization will work if we can't currently setup dynamic CORS origins

@TheJulienM
Copy link

I'd love to see this feature implemented! I have quite a few subdomains on several sites and it's getting to be a long list ^^

@Thomas-Philippot
Copy link

we have the same issue, hope this gets implemented !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants