Skip to content
New issue

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

feat: add custom oauth bearer authentication support #548

Merged

Conversation

robertcoltheart
Copy link
Contributor

Description

Expose SetOAuthBearerTokenRefreshHandler and oauth properties in security information.

Fixes #417

How Has This Been Tested?

I've run this locally and confirmed that the OAuth callbacks are called correctly by the Kafka admin client, consumer and producer. Unit tests seem difficult to implement in this case, because the underlying code calls directly into PInvoke code that can't be mocked. Happy to take advice on where unit tests could be added.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have added tests to cover my changes
  • I have made corresponding changes to the documentation

Disclaimer

By sending us your contributions, you are agreeing that your contribution is made subject to the terms of our Contributor Ownership Statement

@kikofps kikofps merged commit 188b21d into Farfetch:master Apr 9, 2024
3 checks passed
@robertcoltheart robertcoltheart deleted the feature/add-support-for-oauth branch April 9, 2024 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request]: Authentication using OAuth
7 participants