Skip to content

PG-2526 Relax empty-scope handling - #42

Merged
dutow merged 1 commit into
percona:mainfrom
dutow:emptyscope
Jul 2, 2026
Merged

PG-2526 Relax empty-scope handling#42
dutow merged 1 commit into
percona:mainfrom
dutow:emptyscope

Conversation

@dutow

@dutow dutow commented Jun 30, 2026

Copy link
Copy Markdown
Collaborator

oauth_scope is a required paramter in pg_hba, but users can specify an empty string to it, allowing for an explicit opt-out for scope validation.

This is a workaround for providers that do not support OAuth scopes properly.

@jeltz jeltz left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't something like this be documented in the readme?

@dutow

dutow commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator Author

Most likely yes, I'll merge the other PR and add a mention in this PR to avoid conflicts

oauth_scope is a required paramter in pg_hba, but users can specify an
empty string to it, allowing for an explicit opt-out for scope
validation.

This is a workaround for providers that do not support OAuth scopes
properly.
@dutow
dutow requested a review from jeltz July 2, 2026 17:06
@dutow dutow changed the title Relax empty-scope handling PG-2526 Relax empty-scope handling Jul 2, 2026
@dutow
dutow merged commit fefff34 into percona:main Jul 2, 2026
9 checks passed
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.

2 participants