Using _anonymous user but logged in as superuser

We set up authentication in our ELK cluster.

We have an admin user with superuser role. I go to kibana, login as admin and I can login and see all the spaces.
However, when we click in a space, we get

[security_exception] action [cluster:admin/xpack/security/privilege/get] is unauthorized for user [_anonymous]

I am logged in as admin, so why is it trying to use _anonymous to access that? :face_with_raised_eyebrow:

Found the issue: I did not have elasticsearch.username nor password defined in my kibana.yml file, so it was trying to use _anonymous user.

After adding uisername and password there, everything works.

Topic can be closed

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.