Enable CORS for Baserow and n8n
-
Hey all,
I have two services installed n8n and baserow. To use them properly with other no-code app Appgyver I need to enable CORS (Access-Control-Allow-Origin: *) in header.
how can I do that?
Thanx
-
Hey all,
I have two services installed n8n and baserow. To use them properly with other no-code app Appgyver I need to enable CORS (Access-Control-Allow-Origin: *) in header.
how can I do that?
Thanx
@ashkaptsov do you have set the CORS in n8n or baserow ? The CORS header is meant for the browser to make requests to other origins. AFAIK, n8n runs it's scripts server side, so not sure why we need CORS for that. Not sure about baserow, does it allow some client side scripting?
-
@ashkaptsov do you have set the CORS in n8n or baserow ? The CORS header is meant for the browser to make requests to other origins. AFAIK, n8n runs it's scripts server side, so not sure why we need CORS for that. Not sure about baserow, does it allow some client side scripting?
@girish probably n8n and baserow don't need CORS, but this other app 'Appgyver' needs it. just need to find how to edit nginx config file to add there the Access-Control-Allow-Origin header
-
@girish probably n8n and baserow don't need CORS, but this other app 'Appgyver' needs it. just need to find how to edit nginx config file to add there the Access-Control-Allow-Origin header
@ashkaptsov So, AppGyver's browser UI is going to make requests from the browser to n8n and baserow ? Can you tell us a bit more as to why would it want to do that? In general, adding CORS headers without knowing the app knowing about is a security hole.