JWT with JWKS / OIDC
Verifies JWTs against asymmetric keys fetched from a JWKS endpoint. Configure in one of two ways: point at the JWKS URL directly, or have PostgRESTxn discover it from an OIDC issuer.
JWKS URL
OIDC issuer
The JWKS URL is discovered from <issuer>/.well-known/openid-configuration at startup.
Refresh interval
Algorithm override
JWT_ALGO is optional - by default each key's declared alg is honored. Set it to enforce a single algorithm across all keys.
Audience check
JWT_AUD (optional) enforces the token's aud claim.