Skip to content

Confluent Schema Registry Auth issue #194

@Anshumanchourasia

Description

@Anshumanchourasia

I tried this:

Confluent Schema Registry Generator issue:

https://github.com/event-catalog/generators/blob/main/packages/generator-confluent-schema-registry/src/lib/confluent.ts

Auth Missing : Generator error out with 401

https://github.com/event-catalog/generators/blob/main/packages/generator-confluent-schema-registry/src/lib/confluent.ts

export const getLatestVersionFromSubject = async (url: string, subject: string) => {
  const response = await axios.get(`${url}/subjects/${subject}/versions/latest`);
  return response.data;
};

This happened:

data: { error_code: 401, message: 'Unauthorized' }

I expected this:

User name and password should passed as header to the confluent schema api

Is there a workaround?

No response

Anything else?

No response

EventCatalog Version

No response

Node.js Version

No response

Platform(s)

No response

Community Notes

  • Please vote by adding a 👍 reaction to the issue to help us prioritize.
  • If you are interested to work on this issue, please leave a comment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions