event-catalog / event-catalog/generators
Confluent Schema Registry Auth issue
- 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.