GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: add validation for the token URL and service account impersonation URL for Workload Identity Federation by lsirac · Pull Request #717 · googleapis/google-auth-library-java

This repository was archived by the owner on May 12, 2026. It is now read-only.

Conversation

@lsirac

@lsirac lsirac commented Aug 11, 2021

Copy link
Copy Markdown
Contributor

Matches the token URLs host to:

  • *.sts.googleapis.com
  • sts.googleapis.com
  • sts.*.googleapis.com
  • *-sts.googleapis.com

Matches the service account impersonation URLs host to:

  • *.iamcredentials.googleapis.com
  • iamcredentials.googleapis.com
  • iamcredentials.*.googleapis.com
  • *-iamcredentials.googleapis.com

Scheme must be HTTPS.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@lsirac
fix: add validation for the token URL and service account impersonati…
b269517
…on URL in ExternalAccountCredentials
@lsirac
lsirac requested a review from a team August 11, 2021 01:33
@google-cla google-cla Bot added the cla: yes This human has signed the Contributor License Agreement. label Aug 11, 2021
@lsirac
lsirac requested a review from TimurSadykov August 11, 2021 01:33
TimurSadykov
TimurSadykov approved these changes Aug 11, 2021
View reviewed changes

@TimurSadykov TimurSadykov left a comment

Copy link
Copy Markdown

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM, some minor suggestions on test cases

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread oauth2_http/javatests/com/google/auth/oauth2/ExternalAccountCredentialsTest.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@lsirac
lsirac requested a review from Neenu1995 August 12, 2021 17:38
lsirac added 2 commits August 12, 2021 10:40
@lsirac
fix: review comment
4fa1976
@lsirac
fix: add test case
4a6034a
@lsirac
lsirac requested a review from lesv August 12, 2021 20:44
lesv
lesv approved these changes Aug 17, 2021
View reviewed changes
Comment thread oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread oauth2_http/java/com/google/auth/oauth2/ExternalAccountCredentials.java Resolved

Uh oh!

There was an error while loading. Please reload this page.

@lsirac
Merge branch 'master' into validate
3cf27c6
@lsirac
lsirac merged commit 23cb8ef into googleapis:master Aug 17, 2021
gcf-merge-on-green Bot pushed a commit that referenced this pull request Aug 18, 2021
@release-please
chore: release 1.1.0 (#713)
8e904ac
🤖 I have created a release \*beep\* \*boop\*
---
## [1.1.0](https://www.github.com/googleapis/google-auth-library-java/compare/v1.0.0...v1.1.0) (2021-08-17)


### Features

* downscoping with credential access boundaries ([#702](https://www.github.com/googleapis/google-auth-library-java/issues/702)) ([aa7ede1](https://www.github.com/googleapis/google-auth-library-java/commit/aa7ede1d1c688ba437798f4204820c0506d5d969))


### Bug Fixes

* add validation for the token URL and service account impersonation URL for Workload Identity Federation ([#717](https://www.github.com/googleapis/google-auth-library-java/issues/717)) ([23cb8ef](https://www.github.com/googleapis/google-auth-library-java/commit/23cb8ef778d012bbd452c1dfdac5f096d1af6c95))


### Documentation

* updates README for downscoping with CAB ([#716](https://www.github.com/googleapis/google-auth-library-java/issues/716)) ([68bceba](https://www.github.com/googleapis/google-auth-library-java/commit/68bceba21c05870f6eb616cc057ddf0521c581b8))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
@release-please release-please Bot mentioned this pull request Jan 4, 2022
chore(main): release google-auth-library-java 1.0.0 #819
Closed
@release-please release-please Bot mentioned this pull request Aug 11, 2022
chore(main): release 1.11.0 #974
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@Neenu1995 Neenu1995 Awaiting requested review from Neenu1995
2 more reviewers
@lesv lesv lesv approved these changes
@TimurSadykov TimurSadykov TimurSadykov approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@lsirac @lesv @TimurSadykov
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.