Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OS: 2.9.0
OSD: 2.9.0
Describe the issue:
Hi All, I am trying to configure Azure SSO for opensearch using a helm chart.
But I am getting the below error.
Failed to get saml header: Error: Error: failed parsing SAML config
i have added my configs below,
Configuration:
config.yml
config.yml: |- _meta: type: "config" config_version: "2" config: dynamic: http: anonymous_auth_enabled: false authc: basic_internal_auth_domain: description: "Authenticate via HTTP Basic against internal users database" http_enabled: true transport_enabled: true order: 0 http_authenticator: type: basic challenge: true authentication_backend: type: intern saml_auth_domain: order: 1 description: "SAML provider" http_enabled: true transport_enabled: false http_authenticator: type: saml challenge: true config: idp: metadata_url: https://login.microsoftonline.com/XXXXX entity_id: https://sts.windows.net/XXXXX sp: entity_id: dm-saml kibana_url: https://dashboard-url.net/ exchange_key : "435234gsdfgsty45yfjydfwewefrthju67i5vdsr;lkfs;6utjy" roles_key: http://schemas.microsoft.com/ws/2008/06/identity/claims/role authentication_backend: type: noop
dashboard-config
opensearch_dashboards.yml: |
server:
host: “0”
ssl:
enabled: “false”
xsrf:
allowlist: [“/_plugins/_security/api/authtoken”, “/_opendistro/_security/api/authtoken”, “/_opendistro/_security/saml/acs/idpinitiated”, “/_opendistro/_security/saml/acs”, “/_opendistro/_security/saml/logout”, “/_plugins/_security/saml/acs/idpinitiated”, “/_plugins/_security/saml/acs”, “/_plugins/_security/saml/logout”]
opensearch_security:
multitenancy:
enabled: “true”
tenants:
preferred: [“Private”, “Global”]
auth:
type: [“basicauth”,“saml”]
multiple_auth_enabled: “true”opensearch: ssl: verificationMode: "none" hosts: ["https://opensearch-cluster-master:9200"] requestHeadersAllowlist: ["securitytenant", "security_tenant", "Authorization"]
At idp side we have changed redirect url from /_opendistro/_security/saml/acs to /_plugins/_security/saml/acs
but still i am getting the same error, can someone help.
Thanks in advance.