Could Someone Give me Advice in Issue with Kibana Authentication Using ReadOnlyREST?

Hello there, :wave:

I have recently set up ReadOnlyREST with my Kibana instance; and I am running into a few issues tha;t I cannot seem to figure out. I am new to using ReadOnlyREST; so it is possible I have missed a step; or misconfigured something.

I am using Kibana 8.x and Elasticsearch; with ReadOnlyREST plugin; to secure my instance. I followed the installation; guide and configured the readonlyrest.yml file with the basic authentication blocks.

The plugin loads fine; and I am prompted for credentials when accessing Kibana. Although; when I enter the correct credentials; the login screen just refreshes; and I am; not being granted access to the dashboard.

my code: readonlyrest:
access_control_rules:
name: “::Kibana Access::”
auth_key: kibana_user:password123

Also, I have gone through this post; https://forum.readonlyrest.com/t/kibana-still-trying-to-use-some-unauthenticated-access-to-es-mlops/ which definitely helped me out a lot.

Am I missing something critical in the configuration to allow the user access to Kibana? :thinking: Is there a specific configuration; needed for Kibana 8.x that might differ from previous versions when integrating with ReadOnlyREST? :thinking:

Thanks in advance for your help and assistance. :innocent:

Hi @komyash

Did you see our ROR sandbox? If not, IMO it’s a great starting point for you.

Check the ror-demo-cluster folder. You can easily run a simple Kibana+ES+ROR cluster. Everything is set. The only requirement is a Docker. Just call the run.sh script in the console.

Then you can look at how ES and Kibana are configured.

I hope it helps you find out the problem with your setup.