401 errors after integrating Kibana/Elastic Search with Istio user auth #51601
Unanswered
juan-garcia-db
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi team!
We're integrating Kibana/elastic search running on Google's Kubernetes Engine with our organizations IDaaS, and are getting 401 errors when we log in. After configuring our OIDC client, Istio user-auth, and the ElasticSearch backend itself, our login screen comes up, our credentials are accepted, the Kibana loading page shows up, but then we get
"Authentication failed, please contact your system administrator"
After checking istio-ingress-gateway, asm-user-auth, and kibana and elastic search logs in GKE logs we don't see any meaningful error messages. The only hint is the one we get from the dev tools, where we see the callback returning 401 Unauthorized, along with a referrer policy strict-origin-when-cross-origin OR no-referrer-when-downgrade.
So we suspect we might be missing some configuration on the Istio side of things. Are there any logs we could enable to help us troubleshoot?
Thanks in advance.
![Screenshot 2024-06-17 122803](https://private-user-images.githubusercontent.com/103521330/340283644-0cbac6c5-5321-47ef-b6f0-c5d965b4090c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE2MTc1OTgsIm5iZiI6MTcyMTYxNzI5OCwicGF0aCI6Ii8xMDM1MjEzMzAvMzQwMjgzNjQ0LTBjYmFjNmM1LTUzMjEtNDdlZi1iNmYwLWM1ZDk2NWI0MDkwYy5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwNzIyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDcyMlQwMzAxMzhaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT00OGRmM2FmYzAzZGZmOTgwZmE2YWY1NTEwZWU2MjRmNTBlOTFiMjhiYjliNjI2MzhiMTJlMjlhMGVlNjFmNjNjJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.zy58i7LWSqSfEsTEaFRBm1ud6G58wmXVxcVxGQnXL4w)
Beta Was this translation helpful? Give feedback.
All reactions