Skip to content

fix(auth): Read scope from impersonated json#3495

Merged
sai-sunder-s merged 2 commits intogoogleapis:mainfrom
sai-sunder-s:impersonatedscopes
Oct 10, 2025
Merged

fix(auth): Read scope from impersonated json#3495
sai-sunder-s merged 2 commits intogoogleapis:mainfrom
sai-sunder-s:impersonatedscopes

Conversation

@sai-sunder-s
Copy link
Copy Markdown
Contributor

If the impersonated credential json contains a scope field, use that instead of resorting to default scopes.

@codecov
Copy link
Copy Markdown

codecov bot commented Oct 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.85%. Comparing base (c341a0e) to head (87007b5).
⚠️ Report is 5 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3495   +/-   ##
=======================================
  Coverage   95.84%   95.85%           
=======================================
  Files         120      120           
  Lines        4789     4800   +11     
=======================================
+ Hits         4590     4601   +11     
  Misses        199      199           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sai-sunder-s sai-sunder-s marked this pull request as ready for review October 9, 2025 21:31
@sai-sunder-s sai-sunder-s requested review from a team October 9, 2025 21:31
Copy link
Copy Markdown
Collaborator

@coryan coryan left a comment

Choose a reason for hiding this comment

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

I think it is time to refactor the code. If it looks too ugly let me know.

@sai-sunder-s sai-sunder-s enabled auto-merge (squash) October 10, 2025 17:26
@sai-sunder-s sai-sunder-s merged commit 9d3b753 into googleapis:main Oct 10, 2025
24 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