I try install CbioPortal vith docker compose how it defined in the instruction. The application deployed in the AWS EC2 behind the Application Load Balancer. To the balancer I assigned a dns name. And when I try to open the portal I immediately forwarded to the page with CORS error. See more below
{
"req": {
"method": "POST",
"url": "//
cbioportal.mydomain.com/api/studies/tags/fetch",
"data": [
"lgg_ucsf_2014"
],
"headers": {
"accept": "application/json",
"content-type": "application/json"
}
},
"xhr": {},
"text": "Invalid CORS request",
"statusText": "",
"statusCode": 403,
"status": 403,
"statusType": 4,
"info": false,
"ok": false,
"redirect": false,
"clientError": true,
"serverError": false,
"error": {
"status": 403,
"method": "POST",
"url": "//
cbioportal.mydomain.com/api/studies/tags/fetch"
},
"created": false,
"accepted": false,
"noContent": false,
"badRequest": false,
"unauthorized": false,
"notAcceptable": false,
"forbidden": true,
"notFound": false,
"unprocessableEntity": false,
"headers": {
"cache-control": "no-cache, no-store, max-age=0, must-revalidate",
"date": "Wed, 26 Feb 2025 11:14:59 GMT",
"expires": "0",
"pragma": "no-cache",
"vary": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY",
"x-xss-protection": "0",
"content-type": null
},
"header": {
"cache-control": "no-cache, no-store, max-age=0, must-revalidate",
"date": "Wed, 26 Feb 2025 11:14:59 GMT",
"expires": "0",
"pragma": "no-cache",
"vary": "Origin, Access-Control-Request-Method, Access-Control-Request-Headers",
"x-content-type-options": "nosniff",
"x-frame-options": "DENY",
"x-xss-protection": "0",
"content-type": null
},
"type": "",
"links": {},
"body": null,
"url": "
https://cbioportal.mydomain.com/"
}