Issue with Configuring Dashboards Sign-In for Multiple Authentication Options

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):

Describe the issue:

Hello community,I’m currently working on configuring Dashboards sign-in for multiple authentication options in OpenSearch. Specifically, I’ve been trying to edit the opensearch_dashboards.yml file to include the necessary changes, but I’m not seeing any updates in the dashboard login.

Configuration:

Server settings

server.host: 0.0.0.0
server.port: 5601

OpenSearch settings

opensearch.hosts: [“https://localhost:9200”]
opensearch.ssl.verificationMode: none
opensearch.username: user
opensearch.password: pass
opensearch.requestHeadersAllowlist: [“securitytenant”,“Authorization”]

Multi-tenancy settings

opensearch_security.multitenancy.enabled: true
opensearch_security.multitenancy.tenants.preferred: [“Private”, “Global”]
opensearch_security.readonly_mode.roles: [“read_only”]

Authentication settings

opensearch_security.auth.multiple_auth_enabled: true
opensearch_security.auth.type: [“basicauth”,“saml”]

Basic authentication customization

opensearch_security.ui.basicauth.login.brandimage: /usr/share/opensearch-dashboards/node_modules/getos/imgs/logo.png
opensearch_security.ui.basicauth.login.showbrandimage: true

Relevant Logs or Screenshots:

Hello there.
While these config looks relevant, could you please provide config lines from opensearch.yml?
Also, is there any weird in the logs during the startup?
You may want to enable verbose logging:

logging.verbose: true

you have provided it in OP, please share configuration for opensearch.yml, on opensearch side.

And logs when UI is loaded - both from server and browser.

@Keo it would be nice if you can post you answer here.
I assume the solution was to add an auth backend to opensearch, but FWIW it would be awesome to hear at from you :slight_smile:

The opensearch authentication and authorization weren’t configured, but after configuring them, the dashboard worked fine

2 Likes