Skip to content

Conversation

@arithmetic1728
Copy link
Contributor

@arithmetic1728 arithmetic1728 commented Mar 18, 2021

@google-cla google-cla bot added the cla: yes This human has signed the Contributor License Agreement. label Mar 18, 2021
@codecov
Copy link

codecov bot commented Mar 18, 2021

Codecov Report

Merging #601 (8a23d96) into master (31ebe6e) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #601   +/-   ##
=========================================
  Coverage     83.49%   83.49%           
- Complexity      599      600    +1     
=========================================
  Files            42       42           
  Lines          2708     2709    +1     
  Branches        288      288           
=========================================
+ Hits           2261     2262    +1     
  Misses          304      304           
  Partials        143      143           
Impacted Files Coverage Δ Complexity Δ
.../google/auth/oauth2/ServiceAccountCredentials.java 83.50% <100.00%> (+0.05%) 65.00 <1.00> (+1.00)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 31ebe6e...8a23d96. Read the comment docs.

@arithmetic1728 arithmetic1728 marked this pull request as ready for review March 18, 2021 20:40
@arithmetic1728 arithmetic1728 requested a review from a team as a code owner March 18, 2021 20:40
@arithmetic1728 arithmetic1728 requested a review from bshaffer March 18, 2021 20:41
@arithmetic1728 arithmetic1728 merged commit 0614482 into master Mar 18, 2021
@arithmetic1728 arithmetic1728 deleted the jwt_fix branch March 18, 2021 20:58
/** Returns whether the scopes are empty, meaning createScoped must be called before use. */
@Override
public boolean createScopedRequired() {
return scopes.isEmpty();
Copy link
Contributor

Choose a reason for hiding this comment

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

I think without having defaultScopes.isEmpty() here as well, the Client Library for Storage will never use self-signed JWTs. And there may be more APIs like this.

This can be fixed in a future PR, however.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants