Skip to content

Cache OIDC keys (JWKs) #8

@lukpueh

Description

@lukpueh

Currently, PIA runs OIDC key discovery on each request, which adds two additional roundtrips to the issuer's .well_known endpoint. Given that keys don't change that often, we should cache them for a reasonable amount of time. Consider warehouse's _refresh_keyset for inspiration.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions