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

Provide more authentication mechanisms? #1189

Open
zetaab opened this issue Jan 15, 2024 · 2 comments
Open

Provide more authentication mechanisms? #1189

zetaab opened this issue Jan 15, 2024 · 2 comments
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@zetaab
Copy link

zetaab commented Jan 15, 2024

As kourier is using envoyproxy as data plane, it makes it possible to use wide range of existing http filters. These just need to be provisioned by kourier to make things working.

So I am kind of proposing to support new authentication mechanisms in kourier. These mechanisms could be like JWT and OIDC. Envoyproxy gateway uses crd to target policies to correct virtual host https://github.com/envoyproxy/gateway/blob/main/api/v1alpha1/securitypolicy_types.go#L26

I am thinking could kourier support something similar? crd that can be targeted to ksvc or domainmapping and then specify authentication configuration. Of course it would be useful to have CORS as well, when we play with these tokens.

@norbjd
Copy link
Contributor

norbjd commented Jan 31, 2024

Hello 👋

Just in case you missed it, Kourier has support for ext-authz configuration, that is mapped to Envoy's envoy.filters.http.ext_authz filter.

This can be useful to implement your own auth logic (e.g. validate a JWT), as you can write whatever you want behind the ext-authz service (configured with KOURIER_EXTAUTHZ_HOST).

Copy link

github-actions bot commented May 1, 2024

This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label May 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants