OpenCTI-Platform / opencti

Open Cyber Threat Intelligence Platform
https://opencti.io
Other
6.32k stars 932 forks source link

SAML not working. Configuration error? #2383

Closed smclinden closed 2 years ago

smclinden commented 2 years ago

Prerequisites

Description

SAML auth does not seem to be invoked

Environment

  1. OS (where OpenCTI server runs): Ubuntu 18.04
  2. OpenCTI version: 5.3.7
  3. OpenCTI client: Browser
  4. Other environment details:

Reproducible Steps

Steps to create the smallest reproducible scenario:

  1. Configure SAML connector
  2. Attempt SAML authentication
  3. OpenCTI skips SAML attempt and goes straight to localStrategy

Additional information

    "saml": {
        "identifier": "saml",
        "strategy": "SamlStrategy",
        "config": {
            "issuer": "opencti",
            "entry_point": "https://login.microsoftonline.com/{UID}/saml2",
            "saml_callack_url": "https://xxxxx.yyy.com:4000/auth/saml/callback",
            "authnContext": "https://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/windows",
            "identifierFormat": null,
            "cert": "MIIC8DCCAdigAwIB...Yys57Fim",
            "roles_management": {
              "role_attributes": ["Role"],
              "roles_mapping": ["ITSecOps"]
            }
        }
    },
lachlan112 commented 2 years ago

Am receiving similiar when trying to set-up SAML with Azure AD.

smclinden commented 2 years ago

The issue appears to be with the SAML interface. Closing this and reopening as a bug.

smclinden commented 2 years ago

The issue appears to be with the SAML interface. Closing this and reopening as a bug.