How to authenticate schema-registry-ui with Confluent's Schema Registry

Hello Marios,
How do I connect schema-registry-ui to my own confluent schema registry via BASIC and other authentication mechanism?

Thanks
Matt

Hi Matt!

The Schema Registry UI was never designed for authenticated connection to the Schema Registry.

That said, since the BASIC authentication mechanism uses URLs, you may be able to make it work by adjusting the registry URL.

If you are using the docker image, then try something like:

docker run --rm -p 8000:8000 \
       -e "SCHEMAREGISTRY_URL=http://USER:PASSWORD@confluent-schema-registry-host:port" \
       landoop/schema-registry-ui

If you are just using the UI, you can adjust the URL in env.js like this:

var clusters = [
     {
       NAME:"dev",
       SCHEMA_REGISTRY: "http://USER:PASSWORD@localhost:8083",
       COLOR: "red", // optional
       allowGlobalConfigChanges: true, // optional
       allowTransitiveCompatibilities: true
     }
  ];

Any other mechanism beyond BASIC will not work.

Please note that Schema Registry UI reached its end-of-life quite some time ago, and, of course, our suggestion is Lenses. :slight_smile:

Hey Mario’s,
Thank you very much for the reply. The first approach didn’t work for me. I will try the second option.

You said schema registry-ui reached its end of life. What’s the equivalent in lenses?

I need a schema registry-ui from lenses!

Thanks
Matt

HI Marios,
Any feedback please?

Thans
Matt

The main Lenses.io product gives you full Data Observability and Self Service Administration on your Kafka. This includes managing schemas.

Here is a quick overview of the Schema Management functionality: https://www.youtube.com/watch?v=GtfjhrTuPQA