Skip to content

[FEATURE] usage of JWKS with JWT (w/o OpenID connect)Β #1858

@rursprung

Description

@rursprung

Is your feature request related to a problem?
when using JWT it is cumbersome to manage the public keys / certificates directly in the config file (or as environment variables), making adding/removing issuers and general key rotation a pain.

What solution would you like?
it should be possible to define a JWKS endpoint for JWT-based authentication.

note: it might be that this already works (because JWT is used within OpenID connect), but it's definitely undocumented and so i don't know how we could set this up. so at the very least this would require a documentation update, worst-case it might need some enhancements.

What alternatives have you considered?
see above:

  • store the keys in the config file
  • store the keys in environment variables which are referenced in config files

both of these also require one auth domain per issuer, which is suboptimal.

Do you have any additional context?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriagedIssues labeled as 'Triaged' have been reviewed and are deemed actionable.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions