event-catalog / event-catalog/generators

Confluent Schema Registry Auth issue

Open
#194 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
15
Forks
16
Avg merge
25m
Merged PRs (30d)
4

Description

### 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.