Skip to content

Conversation

dvob
Copy link

@dvob dvob commented Oct 5, 2025

This adds support for OAuth authentication which got introduced in Postgres 18.
See:

I currently added this as draft, as I'm not sure what is the best way to obtain the OAuth tokens.
I think best would be if one could configure a function like func(ctx context.Context) (string, error). But it's not clear me yet how a good API would look like.
Also currently tests are missing.

Support for OAuth authentication got introduced in Postgres 18.
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