lensesio / kafka-topics-ui

Web Tool for Kafka Topics |
https://lenses.io
877 stars 148 forks source link

Basic Auth at REST Proxy #128

Closed sergeiwaigant closed 6 years ago

sergeiwaigant commented 6 years ago

Hi all,

I'm looking for an option to authenticate the Topics UI against the REST Proxy over Basic Auth. We have 2 REST Proxys behind a Citrix NetScaler Load Balancer and we need to authenticate at this HTTPS endpoint.

Any idea?

Kind regards Sergei

andmarios commented 6 years ago

Hi @sergeiwaigant, you can authenticate to the rest proxies by using URL encoding for the basic auth credentials. That is you add them to the rest proxy URL. Like:

http://[USER]:[PASSWORD]@rest.proxy.url
sergeiwaigant commented 6 years ago

Great, works, I could have thought it myself... thanks!

andmarios commented 6 years ago

Glad we tackled it! :grin: