How to login as a different user after enabling anonymous access

I had enabled anonymous access for my kibana dashboards and it works flawlessly . However when i try to login as a different user , it brings me back to the anonymous user's account .

is there a way to get the login prompt , so we can try to login as a different user ?

i.e when i use the url

http://172.26.207.164:5601/

i get redirected to

 http://172.26.207.164:5601/s/dev/app/home#/

Shouldn't it ask for a login ? here's my kibana.yml .

path.data: /var/lib/kibana/
data.autocomplete.valueSuggestions.timeout: 100000000
data.autocomplete.valueSuggestions.terminateAfter: 100000000

xpack.security.authc.providers:
  anonymous.anonymous1:
    order: 0
    credentials: "elasticsearch_anonymous_user"





# This section was automatically generated during setup.
elasticsearch.hosts: ['https://172.26.209.169:9200']
elasticsearch.serviceAccountToken: XXXXXXX
elasticsearch.ssl.certificateAuthorities: [/var/lib/kibana/ca_1645610636399.crt]
xpack.fleet.outputs: [{id: fleet-default-output, name: default, is_default: true, is_default_monitoring: true, type: elasticsearch, hosts: ['https://172.26.209.169:9200'], ca_trusted_fingerprint: XXXXX}]

Okay i was able to add another user

xpack.security.authc.providers:
  anonymous.anonymous1:
    order: 1
    credentials: "elasticsearch_anonymous_user"
    hint: "For Engineers"
  basic.basic1:
    order: 2
    icon: "logoElasticsearch"
    hint: "For devs"

But when i paste the anonymous user's dashboard , i get a prompt to login as guest , can this be skipped and navigate to dashboard directly

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