Raul_Uria
(Raúl Uría)
October 27, 2020, 7:07pm
1
Hi,
trying to login into kibana 7.4 as anonymous user (without user login). I have a user with access to a particular dashboard, I can login and display the dashboard fine.
I've configured apache with
RequestHeader set Authorization "Basic base64encodedpassword"
as indicated in Auto-authenticating to iframe-embedded Kibana dashboard - #15 by Francisca_Lima , but no luck, getting "unable to authenticate user [USERNAME] for REST request [//_security/_authenticate]".
I've double checked that base64encodedpassword is "user:password" string encoded in base64, same as user working fine at login prompt.
Any ideas?
Raul_Uria
(Raúl Uría)
October 29, 2020, 7:31am
2
Wow! Now working, but I can't understand it completely...
When encoding "user:password" on my mac, get this: dXNlcjpwYXNzd29yZAo=
using: echo "user:password" | base64
It seems to be wrong, encoding with online base64 generator, get this: dXNlcjpwYXNzd29yZA==
There are some different trailing chars, that do the trick !
Why?
rashmi
(kulkarni)
October 29, 2020, 3:40pm
3
cc @Larry_Gregory /@jportner
can we have more insights here please?
Thanks
Rashmi
jportner
(Joe Portner)
October 29, 2020, 3:56pm
4
Raul_Uria:
When encoding "user:password" on my mac, get this: dXNlcjpwYXNzd29yZAo=
using: echo "user:password" | base64
It seems to be wrong, encoding with online base64 generator, get this: dXNlcjpwYXNzd29yZA==
There are some different trailing chars, that do the trick !
Why?
When using the echo
command, you need to include the -n
flag to avoid appending a newline character (reference ).
Raul_Uria
(Raúl Uría)
October 29, 2020, 7:25pm
5
That's right! Thanks a lot!
system
(system)
Closed
November 26, 2020, 7:25pm
6
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.