@Wolfram_Haussig hey, i am back again with a lot of testing:
https://my-url:5601/app/monitoring?auth_provider_hint=saml1
did not work as expected...
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:
upstream kibana-oidc1 {
ip_hash;
server x.x.x.x:5601; --> kibana server 1
}
upstream kibana-saml {
ip_hash;
server x.x.x.x:5601; --> kibana server 2
}
location / {
proxy_pass http://kibana-oidc1;
proxy_redirect off;
proxy_buffering off;
proxy_read_timeout 300s;
proxy_http_version 1.1;
proxy_set_header Connection "Keep-Alive";
}
location /saml/ {
proxy_pass http://kibana-saml;
proxy_redirect off;
proxy_buffering off;
proxy_read_timeout 300s;
proxy_http_version 1.1;
proxy_set_header Connection "Keep-Alive";
rewrite ^ http://my-url/saml;
}
in kibana.yml on kibana 2:
server.basePath: "/saml"
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/.
best regards