I am creating a web app that has kibana iframes embedded that I would like to not require sign in for them. I have read all of the elastic forums and githubs but I still can't figure out how to allow this.
When I use the settings I posted below, the iframe doesn't need auth and neither when I access kibana directly. However, I'm unable to sign in with another user so that I can do admin work.
On the top right, I can click on the user, and it says "Sign In" I press that, it signs me out, and then there's another "Sign In" screen, and upon pressing that, I'm back to the same anonymous user. If I add:
xpack.security.authc.providers: basic.basic1: order: 1
to elasticsearch.yml, then I have to click on the anonymous sign in to make that work. What am I missing?
xpack.security.enabled: true xpack.security.authc: anonymous: username: anonymous_user roles: public authz_exception: false
xpack.security.enabled: true xpack.security.authc.providers: anonymous.anonymous1: order: 1 credentials: username: "user" password: "pw"