meshcentral-docker icon indicating copy to clipboard operation
meshcentral-docker copied to clipboard

"Invalid origin in HTTP request, click to reconnect." Require docker env var for allowOrigin

Open silycr opened this issue 11 months ago • 0 comments

Error presented after logging in

Invalid origin in HTTP request, click to reconnect.

Feature introduced in MeshCentral v1.1.21 is an allowOrigin tag in the config.json

FIX: Add option in environment block for acceptable origins, default true(all)

Solution for now is to modify config.json with

{
  "settings": { ... },
  "domains": {
    "": {
      "allowedOrigin": true
    }
  }
}

See https://github.com/Ylianst/MeshCentral/issues/5826 for more information

silycr avatar Mar 07 '24 11:03 silycr