Skip to content

build/oauth2: properly check clientID for empty value#1563

Merged
f41gh7 merged 2 commits intomasterfrom
oauth2-config-gen
Oct 22, 2025
Merged

build/oauth2: properly check clientID for empty value#1563
f41gh7 merged 2 commits intomasterfrom
oauth2-config-gen

Conversation

@f41gh7
Copy link
Collaborator

@f41gh7 f41gh7 commented Oct 22, 2025

Previously, oauth2 configuration with empty clientID produced weird key
not found error. It could break vmagent entier config generation.

This commit adds explicit check for clientID to be non-empty and an
additional assert into builder function.

 Previously, oauth2 configuration with empty clientID produced weird key
not found error. It could break vmagent entier config generation.

 This commit adds explicit check for clientID to be non-empty and an
 additional assert into builder function.
@f41gh7 f41gh7 self-assigned this Oct 22, 2025
Updated the CHANGELOG to include a link to PR #1563 for the oauth2 configuration bugfix.
@f41gh7 f41gh7 merged commit 51ce835 into master Oct 22, 2025
4 of 6 checks passed
@f41gh7 f41gh7 deleted the oauth2-config-gen branch October 22, 2025 14:19
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