Skip to content

chore: Migrate remaining Auth commits after monorepo migration#12561

Merged
lqiu96 merged 2 commits intomainfrom
migrate-auth-commits
Apr 2, 2026
Merged

chore: Migrate remaining Auth commits after monorepo migration#12561
lqiu96 merged 2 commits intomainfrom
migrate-auth-commits

Conversation

@lqiu96
Copy link
Copy Markdown
Member

@lqiu96 lqiu96 commented Apr 1, 2026

No description provided.

lqiu96 added 2 commits March 26, 2026 10:45
* chore(oauth2_http): Improve IdTokenCredentials quality and docs

* chore: Fix lint issues

Original-PR: googleapis/google-auth-library-java#1909
)

* chore: Add ObsoleteApi annotation

* chore: Add tests for serializing ImpersonatedCredentials

* chore: Restore old code

* chore: Update error message

* chore: Fix failing test issue

* chore: Remove old tests referecing obsolete api functionality

Original-PR: googleapis/google-auth-library-java#1908
@lqiu96 lqiu96 requested a review from chingor13 April 1, 2026 20:55
@lqiu96 lqiu96 requested review from a team as code owners April 1, 2026 20:55
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request refactors ImpersonatedCredentials to use modern java.time APIs for expiration parsing and marks legacy calendar-based methods as obsolete. It also updates IdTokenCredentials by making fields final and improving its builder. However, a critical issue was found in IdTokenCredentials.java where the constructor fails to initialize the newly final options field and the targetAudience field, which will result in a compilation error.

@lqiu96 lqiu96 enabled auto-merge (squash) April 1, 2026 21:03
@lqiu96 lqiu96 added the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 2, 2026
@yoshi-kokoro yoshi-kokoro removed the kokoro:force-run Add this label to force Kokoro to re-run the tests. label Apr 2, 2026
@lqiu96 lqiu96 merged commit 0632811 into main Apr 2, 2026
109 of 110 checks passed
@lqiu96 lqiu96 deleted the migrate-auth-commits branch April 2, 2026 00:47
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