Limetime management for OIDC JWKS · Issue #10620 · pypi/warehouse (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@woodruffw

Description

@woodruffw

The first step in verifying the OIDC JWTs is verifying their signatures, which means checking them against the OIDC provider's signing key set.

There are a few approaches we could take to acquiring and maintaining the updatedness of those keys:

  1. Bake them into the Warehouse codebase. We could pull the current JWKS blob from the URI referenced in the provider's openid-configuration.
  1. Fetch the JWKS for each provider on Warehouse startup/initialization. Restarts always re-fetch the JWKS.
  1. All of (2), but we also include a periodic job that checks each OIDC provider's JWKS on a schedule.