Skip login page for anonymous Kibana access

After setting opendistro_security.auth.anonymous_auth_enabled = true in kibana.yml, and setting up a role/role mapping for the anonymous user, I still get re-directed to a login page when going to https://servername:5601. I eventually figured out that I can type anything for username and password, and I’m logged in as the opendistro_security_anonymous user. Is there a way to bypass this login page?

This sounds like a bug to me, open an issue in OpenSearch-Dashboards?

@dgutchess

The workaround in the ODFE is to use https://<kibana_server>:5601/auth/anonymous.
It has been fixed in OpenSearch.

https://github.com/opensearch-project/security-dashboards-plugin/commit/fdaff816bfeb66ccee517d5ba6e4cbe5724d828f