security-dashboards-plugin
security-dashboards-plugin copied to clipboard
SAML - "/_opendistro/_security/saml/logout" not found
Environment
Ubuntu 18.0.4
Products version
elasticsearch-oss 7.9.1 amd64 opendistroforelasticsearch 1.11.0-1 amd64 opendistro-security 1.11.0.0-0 amd64 opendistroforelasticsearch-kibana 1.11.0 amd64
Issue
We configured authentication through an external identity provider via SAML. In previous versions (Elasticsearch 7.6.1, Security Plugin 1.6.0.0), the logout link was: <kibana_url>/_opendistro/_security/saml/logout but it seems missing and responds with: {"statusCode":404,"error":"Not Found","message":"Not Found"} even if it's still present in the current documentation.
@maron546 can you share your kibana.yml config file?
and btw, we change the HTTP verb of /_opendistro/_security/saml/logout
from POST
to GET
since 1.10, maybe that is the reason?
Below the configurations in kibana.yml:
server.host: "x.x.x.x"
logging.quiet: true
elasticsearch.hosts: http://x.x.x.x:9200
elasticsearch.ssl.verificationMode: none
elasticsearch.username: kibanaserver
elasticsearch.password: xxxxx
elasticsearch.requestHeadersWhitelist: ["securitytenant","Authorization"]
opendistro_security.multitenancy.enabled: true
opendistro_security.multitenancy.tenants.preferred: ["Private", "Global"]
opendistro_security.readonly_mode.roles: ["kibana_read_only"]
# SAML configurations
opendistro_security.auth.type: "saml"
server.xsrf.whitelist: ["/_opendistro/_security/saml/acs/idpinitiated", "/_opendistro/_security/saml/acs", "/_opendistro/_security/saml/logout"]
# Use this setting if you are running kibana without https
opendistro_security.cookie.secure: false
newsfeed.enabled: false
telemetry.optIn: false
telemetry.enabled: false
Now, we have two environments, one installed on a virtual machine (the configuration file has been taken from this), the other is an Amazon ES Domain. Both have the same issue.
I am encountering the same issue.
Any news about this?
We are doing some "spring cleaning in the fall", and to make sure we focus our energies on the right issues and we get a better picture of the state of the repo, we are closing all issues that we are carrying over from the ODFE era (ODFE is no longer supported/maintained, see post here).
If you believe this issue should still be considered for current versions of OpenSearch, apologies! Please let us know by re-opening it.
Thanks!
@davidlago this is still happening to us in Openserach 2.3.0. The logout URL does not seem to exist, and the logout functionality does not work, crashing opensearch-dashboards.
Thanks @gdiazlo, reopening issue.