Hide the login form


(Peter Skarmyr) #1

I am using automatic sign in with jwt. This works great, but I would like to remove the login form when a user does not have access to kibana. Is this possible?

E.g. I do not have access to kibana. When I try to access kibana I get redirected to the login page with the possibility to enter a username and password. However, it is not possible to log in with username and password so this does not make sense. I’d like the user to just get a message that you do not have access, without the possibility to enter a username and password.

Thanks.


(Simone Scarduzio) #2

Hi @peter123,

This is a really nice configuration to have: i.e. “readonlyrest_kbn.loginUrl” in kibana.yml.
I will do ASAP and let you know! :slight_smile:


(Simone Scarduzio) #3

This is already committed, will be out in new releases.