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

Handle CORS issues through standard Drupal config #3258

Closed
dafeder opened this issue Nov 5, 2020 · 0 comments · Fixed by GetDKAN/dkan-tools#276 or #3248
Closed

Handle CORS issues through standard Drupal config #3258

dafeder opened this issue Nov 5, 2020 · 0 comments · Fixed by GetDKAN/dkan-tools#276 or #3248

Comments

@dafeder
Copy link
Member

dafeder commented Nov 5, 2020

The SQL endpoint brings in its own response config to allow CORS exceptions, but this isn't a sustainable strategy as we build out other APIs that we need to expose to decoupled applications. We should roll this back and allow the SQL and other endpoints to pick up Drupal's CORS settings, and allow people to configure request origin headers per-site and per-environment.

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