Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Enable CORS for Baserow and n8n

    Support
    cors nginx
    2
    4
    364
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ashkaptsov
      ashkaptsov last edited by girish

      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

      girish 1 Reply Last reply Reply Quote 3
      • girish
        girish Staff @ashkaptsov last edited by

        @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 1 Reply Last reply Reply Quote 1
        • ashkaptsov
          ashkaptsov @girish last edited by

          @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 1 Reply Last reply Reply Quote 0
          • girish
            girish Staff @ashkaptsov last edited by

            @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.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post
            Powered by NodeBB