-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add a Basic Access Authentication Provider #766
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution. I left a couple of comments.
Also if you want this published right away, maybe bump the minor?
...ions/src/main/java/com/microsoft/kiota/authentication/BasicAccessAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...ions/src/main/java/com/microsoft/kiota/authentication/BasicAccessAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...ions/src/main/java/com/microsoft/kiota/authentication/BasicAccessAuthenticationProvider.java
Outdated
Show resolved
Hide resolved
...ions/src/main/java/com/microsoft/kiota/authentication/BasicAccessAuthenticationProvider.java
Show resolved
Hide resolved
...ions/src/main/java/com/microsoft/kiota/authentication/BasicAccessAuthenticationProvider.java
Show resolved
Hide resolved
Fixed the spotBugs issues now.
Not needed, good to have in the long run but I don't strictly need it. More interested in feedback regarding the Oidc one 🙂 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the changes!
As for the OIDC provider, I agree that having support for it would be super interesting.
|
Thanks a lot for getting back @baywet !
This is not a requirement, I can probably re-implement it based on the
I'm not 100% sure how it will look but we can work toward that, for sure
It's not used as the authentication mechanism that we are using depends only on a few variables that are passed through the constructor and they are not discovered dynamically. |
I have a few "clean-up" tasks from removing the hand-written Client in Apicurio Registry.
This is an easy one, but I'm looking for guidance on how to port the Oidc one too.
The problem is that I need an HttpClient(or something like that / RequestAdapter etc.) to get the token(possibly during object creation), but this is used to construct the
RequestAdapter
object so we have a circular dependency.Have you already faced this issue?
Do you have a solution that doesn't involve spinning a new, dedicated, HTTP client?