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

Allow multiple CORS origins #1900

Open
pultho opened this issue Jun 29, 2021 · 0 comments
Open

Allow multiple CORS origins #1900

pultho opened this issue Jun 29, 2021 · 0 comments

Comments

@pultho
Copy link

pultho commented Jun 29, 2021

Our application can be access via multiple frontend domains but Countly only works for one matching domain.

Expected Behavior

Have the ability to allow multiple origins for CORS per project.

Current Behavior

Only one domain is excepted, the other one is denied with 'Origin not allowed by Allow-Access-Control-Origin'.

Possible Solution

Define multiple source origins and allow them via CORS header. Alternative: Option to disable CORS entirely.

Steps to Reproduce (for bugs)

  1. Setup some website 'a.com' and 'b.com' accessing the same Countly server
  2. Add a project to Sentry for one of the websites
  3. Only one of them is being accepted because the other one is rejected due the different domain.

Your Environment

Community Edition v20.11

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

1 participant