Skip to content

[Bug]: JWT validation does not work with requests larger than 1MB using JWKSUri as source for keys - POC #8069

@nixx

Description

@nixx

Version

edge

What Kubernetes platforms are you running on?

AKS Azure

Steps to reproduce

When using JWKs URI as source for JWKs a subrequest is used. The request limit for subrequests is the default 1MB and the client gets a 413 Payload to large.

The configuration is similar to:

jwt:
  realm: Realm
  token: $http_token
  jwksURI: https://location_of_jwt
  keyCache: 1h

This is a similar bug as #7876

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogPull requests/issues that are backlog itemsbugAn issue reporting a potential bugrefinedIssues that are ready to be prioritized

    Type

    No type

    Projects

    Status

    Todo ☑

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions