Skip to content

[Bug]: JWT validation does not work with requests larger than 1MB using JWKSUri as source for keys #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

    bugAn issue reporting a potential bugready for refinementAn issue that was triaged and it is ready to be refinedwaiting for responseWaiting for author's response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions