Skip to content

Add support for insecure TLS verification and discovery URL override#38

Open
MarkBogelund wants to merge 1 commit into
percona:mainfrom
MarkBogelund:main
Open

Add support for insecure TLS verification and discovery URL override#38
MarkBogelund wants to merge 1 commit into
percona:mainfrom
MarkBogelund:main

Conversation

@MarkBogelund
Copy link
Copy Markdown

This PR adds two fields:

pg_oidc_validator_insecure_skip_tls_verify:

Disables TLS certificate verification for OIDC discovery and JWKS fetches. Allows self-signed certificates during development. UNSAFE – do not use in production.

discovery_url_override:

Overrides the OIDC issuer URL for fetching discovery and JWKS configuration. Useful when the validator runs inside a container and the issuer URL (e.g., localhost) resolves differently inside vs. outside the container. Note: The JWT iss claim is still validated against the pg_hba issuer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant