Skip to content

add: Oidc Connect Discovery#4628

Draft
mkleczek wants to merge 1 commit intoPostgREST:mainfrom
mkleczek:work/oidc-connect
Draft

add: Oidc Connect Discovery#4628
mkleczek wants to merge 1 commit intoPostgREST:mainfrom
mkleczek:work/oidc-connect

Conversation

@mkleczek
Copy link
Contributor

@mkleczek mkleczek commented Feb 3, 2026

Fixes #1130
Fixes #4137

Currently configuring JWT keys is cumbersome and in practice requires implementing Oidc Connect Discovery in a shell script that writes retrieved keys to a file and reloads PostgREST configuration.
Having this implemented in PostgREST would simplify deployment.

OIDC Connect discovery is widely adopted and implemented by practically all OAuth providers (Supabase as well: https://supabase.com/docs/guides/auth/oauth-server#supported-standards)

Next step is to periodically reload keys to facilitate key rotation.

@steve-chavez
Copy link
Member

👀 What's the motivation for this?

@mkleczek
Copy link
Contributor Author

mkleczek commented Feb 3, 2026

👀 What's the motivation for this?

Updated description.

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

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Possibility to retrieve JWKS using OpenID Connect Discovery JWKS: load public keys from a well known endpoint

2 participants