Skip to content

SSO: When using force env with local.config.disabled = true, local is not disabled #15311

@aHenryJard

Description

@aHenryJard

Description

When using Authentication configuration forced from env, locale being disabled is not taken in account.

Environment

  1. OS (where OpenCTI server runs): { e.g. Mac OS 10, Windows 10, Ubuntu 16.4, etc. }
  2. OpenCTI version: { e.g. OpenCTI 1.0.2 }
  3. OpenCTI client: { e.g. frontend or python }
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. use app.authentication.force_env = true
  2. Add also this config
"providers": {
    "local": {
      "strategy": "LocalStrategy",
      "config": {
        "disabled": true
      }
    }

Expected Output

No auth form in screen

Actual Output

Auth for is displayed

Additional information

Screenshots (optional)

Metadata

Metadata

Assignees

Labels

authenticationLinked to authentication, log in, log out, SSO, etc.buguse for describing something not working as expectedsolveduse to identify issue that has been solved (must be linked to the solving PR)

Type

No fields configured for Bug.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions