Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(credential_injector/oauth2): send scopes when specified #38130

Merged
merged 1 commit into from
Jan 26, 2025

Conversation

ae-govau
Copy link
Contributor

Commit Message:

Current code inadvertently shadows the existing body declaration such that when scopes are specified, they are not actually sent to the authorization server.

Additional Description:

Risk Level:

Testing:

Added test, verified it errors on current code and is resolved after this fix.

Docs Changes:

None, this now matches the existing documentation.

Release Notes:

Added CHANGELOG entry.

Platform Specific Features:

Current code inadvertently shadows the existing body declaration such
that when scopes are specified, they are not actually sent to the
authorization server.

Signed-off-by: Adam Eijdenberg <[email protected]>
@ae-govau ae-govau requested a review from wbpcode as a code owner January 22, 2025 02:55
Copy link

Hi @ae-govau, welcome and thank you for your contribution.

We will try to review your Pull Request as quickly as possible.

In the meantime, please take a look at the contribution guidelines if you have not done so already.

🐱

Caused by: #38130 was opened by ae-govau.

see: more, trace.

@phlax
Copy link
Member

phlax commented Jan 22, 2025

/retest

Copy link
Member

@wbpcode wbpcode left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks.

@wbpcode wbpcode merged commit 38a7619 into envoyproxy:main Jan 26, 2025
22 checks passed
bazmurphy pushed a commit to bazmurphy/envoy that referenced this pull request Jan 29, 2025
…xy#38130)

Commit Message:

Current code inadvertently shadows the existing body declaration such
that when scopes are specified, they are not actually sent to the
authorization server.

Additional Description:

Risk Level:

Testing:

Added test, verified it errors on current code and is resolved after
this fix.

Docs Changes:

None, this now matches the existing documentation.

Release Notes:

Added CHANGELOG entry.

Platform Specific Features:

Signed-off-by: Adam Eijdenberg <[email protected]>
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.

3 participants