Skip to content

ACL always return 401 errors even with 'aclErrorStatus: 403' set #1513

@acourtiol

Description

@acourtiol

Hello,

We're having the following issue.
We setted our config.json like this:

{
  "restApiRoot": "/api",
  "host": "0.0.0.0",
  "aclErrorStatus": 403,
  "port": 3389,
  "remoting": {
    "context": {
      "enableHttpContext": true
    },
    "rest": {
      "normalizeHttpPath": true,
      "xml": false
    },
    "json": {
      "strict": true,
      "limit": "100kb"
    },
    "urlencoded": {
      "extended": true,
      "limit": "100kb"
    },
    "cors": {
      "origin": true,
      "credentials": true
    },
    "errorHandler": {
      "disableStackTrace": false
    }
  },
  "legacyExplorer": false
}

But we're still receiving those kind of 401 errors:

{
  "error": {
    "name": "Error",
    "status": 401,
    "message": "Authorization Required",
    "statusCode": 401,
    "stack": "....."
  }
}

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions