Configure OIDC authentication using an OIDC discovery URL #2921
Labels
good first issue
Denotes an issue ready for a new contributor, according to the "help wanted" guidelines.
kind/feature
Categorizes issue or PR as related to a new feature.
Is your feature request related to a problem?
No, this is an enhancement.
Describe the solution you'd like
Being able to use a single OpenID Connect Discovery endpoint in the
alb.ingress.kubernetes.io/auth-idp-oidc
annotation, instead of having to specify multiple OIDC configuration fields.This would greatly simplify configuration of OIDC authentication when using an IdP that supports discovery (e.g. Keycloak, Okta, etc).
Currently the annotation has to specify a number of fields, this is the example from the docs:
This could be simplified, for example:
The
issuer
,authorizationEndpoint
,tokenEndpoint
, anduserInfoEndpoint
can all be retrieved from the JSON object served by the discovery endpoint.Describe alternatives you've considered
Not applicable? I currently use the annotation as documented, this would be a further enhancement.
References
https://swagger.io/docs/specification/authentication/openid-connect-discovery/
https://openid.net/specs/openid-connect-discovery-1_0.html
The text was updated successfully, but these errors were encountered: