envoyproxy / envoyproxy/envoy

Support RFC 7523 JWT tokens for OAUTH client authentication

Open
#40,893 16 comments 4 reactions 0 assignees View on GitHub
area/oauth enhancement no stalebot stale
Dominant language
C++
Stars
28.9k
Forks
5.6k
Avg merge
1d 20h
Merged PRs (30d)
428

Description

*Title*: Support RFC 7523 JWT tokens for OAUTH client authentication

*Description*:
[RFC 7523 describes a way for applications to avoid long-lived credentials in the form of client ID/secret by using a JWT token](https://datatracker.ietf.org/doc/html/rfc7523#section-2.2):

> To use a JWT Bearer Token for client authentication, the client uses the following parameter values and encodings.
> The value of the "client_assertion_type" is "urn:ietf:params:oauth:client-assertion-type:jwt-bearer".
> The value of the "client_assertion" parameter contains a single JWT. It MUST NOT contain more than one JWT.

Concretely, this would allow using [Kubernetes service account tokens](https://kubernetes.io/docs/concepts/storage/projected-volumes/#serviceaccounttoken) to authenticate with an IdP.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.