We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The java client have a nice SASL_OAUTHBEARER_INHERIT, and also oauth support. Any chance this could be added?
SASL_OAUTHBEARER_INHERIT
The workaround I see today is to use the IAuthenticationHeaderValueProvider.. and implement this:
IAuthenticationHeaderValueProvider..
AuthenticationHeaderValue IAuthenticationHeaderValueProvider.GetAuthenticationHeader() { return new AuthenticationHeaderValue("Bearer", _accessToken); }
_registryClient = new CachedSchemaRegistryClient(schemaConfig, myIAuthHeaderProvider);
Problem is that this gives my the follwing error:
[https://zzzzzzz.westeurope.azure.confluent.cloud/] HttpRequestException: Unauthorized
I noticed it calls the GetAuthenticationHeader where i provide a valid token but still no luck.
GetAuthenticationHeader
Should my workaround work, or are there more stuff that might not be supported? Any idea what I could try? (My admin client works fine)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
The java client have a nice
SASL_OAUTHBEARER_INHERIT
, and also oauth support. Any chance this could be added?The workaround I see today is to use the
IAuthenticationHeaderValueProvider..
and implement this:Problem is that this gives my the follwing error:
[https://zzzzzzz.westeurope.azure.confluent.cloud/] HttpRequestException: Unauthorized
I noticed it calls the
GetAuthenticationHeader
where i provide a valid token but still no luck.Should my workaround work, or are there more stuff that might not be supported? Any idea what I could try? (My admin client works fine)
The text was updated successfully, but these errors were encountered: