Has anyone successfully used auth.login_selector with a custom-branded login page?

Hi everyone,

We’re running OpenSearch and OpenSearch Dashboards version 2.16 with SAML authentication enabled and a custom-branded login page.

We would like to allow users to choose between SAML and internal/basic auth using the auth.login_selector feature. However, with our current branded login page, we’re not seeing the login selector or SAML button appear.

We’ve already configured the following in opensearch_dashboards.yml:

opensearch_security.auth.type: "basicauth"
opensearch_security.auth.multiple_auth_enabled: true
opensearch_security.ui.saml.login.buttonname: "Login with SAML"

But the branded login page seems to override or hide the login selector UI.

:red_question_mark: Has anyone successfully used the auth.login_selector with a custom/branded login page in OpenSearch Dashboards?

If so:

  • Did you need to modify any source files to get the selector to appear?
  • Is there a specific place in the plugin structure or config where branding overrides this behavior?

Thanks in advance!

Hi @dxturner,

Have you tried with:

opensearch_security.auth.type: ["basicauth","saml"]

Best,
mj

Thanks for the tip … I see the ‘Login with SAML’ check box after clearing my browser cache!

1 Like