No 'Access-Control-Allow-Origin' header when sending requests to tgcloud

Just got a feedback from TG support team: CORS is not working on TGcloud free instances.
We need some additional changes in nginx template. And free instances do not support gadmin cmd shell.

You can read here what changes are needed in addition to setting up the headers under GraphStudio Admin board:
https://tigergraph.freshdesk.com/a/solutions/articles/5000867412

The solutions would be:

  • use one of the cheap non-free instances
  • use Docker / on-prem
  • use 3-tier setup (node.js / nginx as proxy) → this should be default setup since that way the database is not exposed to th outer world and you are not sharing secret and or token with your users.

Best,
Bruno