isamplesorg / isamples_inabox

Provides functionality intermediate to a collection and central
0 stars 1 forks source link

CORS origins should be open for public API usage #327

Closed dannymandel closed 10 months ago

dannymandel commented 10 months ago

For the public API calls, our CORS usage should allow_origins=*.

When implementing the hypothesis integration, we changed things to be more restrictive as we were including credentials in requests, and that is incompatible with origins=*. There should be a way to configure things so that the restrictive origins are only applied to the hypothesis requests and not the rest of them.