Skip to content

JWT: support ALB token format #191

@CaerusKaru

Description

@CaerusKaru

AWS Application Load Balancers (ALB) are... special. While they are compliant with the OIDC specification, the resulting token doesn't follow the expected format. Instead of returning a JWT in the Authorization header, it returns it in the x-amzn-oidc-data header. And instead of publishing one consistent JWKS key set file, it publishes one per region, and returns the key ID (kid) as part of the payload of the token, to then be retrieved dynamically, on the fly[1].

So, the ask is two-fold:

  1. Support fetching the JWKS key set from a remote endpoint, instead of from a local file or inline value
  2. Support reading the JWT from a location other than the Authorization header

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions