Hi,
I am using the Kibana UI through nginx. From my application we use the URL "http/s:<IP>/app/kibana". This is the only URL that can be used to access Kibana UI, From the Kibana UI after user logs out and logs in again the URL with /app/kibana is lost and we are not able to access Kibana UI.
Everything works fine if we do not use nginx and the URL used is http://<IP>:5601 since the URL remains the same during first log in screen and log in screen after log out.
The only URL we allow in the application is http://<SecurityIP>/app/kibana. So the URL for first log in screen contains the next URL in query param(http://<SecurityIP>/app/kibana) but the log in screen after log out does not contain the same and the page gets redirected to http://<SecurityIP> which is not accepted.
With the nginx changes:
First login URL:
https://<IP>/app/kibana/login?nextUrl=%2F#?_g=()
Post logout, login URL:
Please suggest if there is any way to fix this issue. Is there any configuration available which I am missing out on?
Kibana Search guard version: searchguard-kibana-5.5.1-4
Kibana: 5.5.1
elasticsearch: 5.5.1