we have some questions about how to handle multiple authentication methods in Kibana. It would be great if we can learn from you and your solutions or your ideas.
at the moment we can offer three different authentication methods:
native
saml
oidc
there is an interesting UI selector where users can select which authentication method they want to use.
is it possible to use this UI selector only when the prefered (highest order setting) failed ?
or can we configure the UI selector behind a different endpoint ?
Also there is the "/login" option for using native authentication.
is it possible to configure more URL endpoints for our realms?
example: my-kibana-url.com/saml1
Or do you have other solutions how to handle our requirements ?
native authentication via /login for administrators --> check
I think this is done by Kibana if you configure e.g. native and activeDirectory(password will be checked against native and then against AD). But native, saml and oidc are totally different so I guess that will not work.
I have not found the documentation link for it - only the reference for anonymous access here but you should be able to call Kibana like this: https://localhost:5601/app/monitoring?auth_provider_hint=saml1 which should try to use the Saml provider.
I think you should also be able to install two separate Kibana installations:
one has native authentication and has a very restricted firewall because only the admins should be able to access this
maybe it is possible to redirect to another URL endpoint
my-kibana-url.com/login was the solution for administration to authenticate via basic authentication while for my-kibana-url.com another authentication method is configured.
this is interesting. we will test it !
this is also a good idea. maybe this can be our workaround.
i really like this idea, so i started a lot of testing.
in my test setup i have 1x nginx server and 2x kibana server on different nodes.
nginx conf looks like this:
my-url/ --> use kibana server 1 with oidc1 (only oidc configured)
my-url/saml --> use kibana server 2 with saml (only oidc configured)
but I am not able to make it work the way I expect it to.
do you have an example how to handle your idea without using complete different kibana urls ?
my-url/ should always be the same and not my-other-url/.
Unfortunately, I am not experienced with nginx as we explicitly want to have different Kibana Urls so the firewall ensures the admin interface is secure.
I am sure there are users here that are able to help you with this question far better than myself
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.