-
Notifications
You must be signed in to change notification settings - Fork 604
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
Allow using OAuth2 for destinations #5047
Comments
@ctron is this related to #5046 as well? |
To some degree related. The alternative to my use case in Eclipse Ditto is to use "oauth". Both ways are not supported by Knative. However, using OAuth2 in my use case might have downsides, as the "pre-authenticated" mode might allow to identify an internal user more easily. Also it might be more efficient to have a static header, compared to an oauth2 flow. So both use cases are valid IMHO. Having one of them supported should be good enough in our case. |
This issue is stale because it has been open for 90 days with no |
/reopen |
@lionelvillard: Reopened this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Just showing my support! IMHO any options are better than none. Often the destination has "their own ways" so... Knative should probably be relatively flexible ;) Of course, for us the oauth2 client credential flow would be awesome. |
hello there, I am interested in the project for gsoc 2023, can anyone guide me how to get started and what essentials required to know ? will be happy to be a part of the community. |
Hey @evankanderson , I was going through the project ideas and this project caught my attention. I would love to contribute to this project during this summer :) I am currently going through the documentation to get an in-depth knowledge of the concepts required. Shall I continue this discussion on the slack community channel ? |
Hi @RohanSasne. I believe @matzew is also looking at this based on the comment here: You two may want to coordinate. |
Yeah absolutely, thanks for the resource though ! |
/assign @creydr |
Hi @pierDipi, will this project be under LFX Mentorship Term 02 - 2023 June - August ? |
The basic functionality for this is included in eventing core since the 1.13 release when the |
Problem
Using a
uri
orref
as a destination (e.g. in aSequence
) the receiving endpoint might be secured and require credentials to allow access.Using
uri
it is currently possible to provide "username/password" credentials. However, OAuth2 is a reasonable choice for authentication as well.KNative eventing should allow to use OAuth2 for authenticating towards a receiving service.
Not being an expert on OAuth2, I guess it would make sense to allow:
See for other flows:
In general it should be possible to provide credentials (like client ID and secret) using Kubernetes
Secrets
, like using aSecretsKeySelector
(https://pkg.go.dev/k8s.io/api/core/v1#SecretKeySelector).Persona:
Event consumer
Exit Criteria
Time Estimate (optional):
Additional context (optional)
The text was updated successfully, but these errors were encountered: