feat: Adding Agent Identity bound token support and handling certificate mismatches with retries by agrawalradhika-cell · Pull Request #1890 · googleapis/google-auth-library-python

and others added 2 commits

December 9, 2025 14:52
…als & Agent Identity workloads (#1841)

feat: Add retry logic when certificate mismatch for existing credentials
& Agent Identity workloads

This change introduces retry support when requests are created for
existing credentials and Agent Identities on GKE and Cloud Run
Workloads. When 401(Unauthorized) error is created, due to certificate
at time of configuration of mTLS channel being different from the
current certificate, a retry is added to the request by configuring the
mTLS channel with the current certificate.

---------

Signed-off-by: Radhika Agrawal <agrawalradhika@google.com>
Co-authored-by: nbayati <99771966+nbayati@users.noreply.github.com>
Co-authored-by: Andy Zhao <andyzhao@google.com>

gemini-code-assist[bot]

@agrawalradhika-cell agrawalradhika-cell changed the title Agent identity staging feat: [Agent identity staging to main] Adding Agent Identity bound token support and retry condition for when certificates mismatch for these Agent Identities

Dec 15, 2025

@daniel-sanche daniel-sanche changed the title feat: [Agent identity staging to main] Adding Agent Identity bound token support and retry condition for when certificates mismatch for these Agent Identities feat: Adding Agent Identity bound token support and verification logic

Dec 15, 2025

daniel-sanche

@daniel-sanche

@daniel-sanche daniel-sanche changed the title feat: Adding Agent Identity bound token support and verification logic feat: Adding Agent Identity bound token support and handling certificate mismatches with retries

Dec 15, 2025

gkevinzheng

daniel-sanche added a commit that referenced this pull request

Dec 15, 2025
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.

Librarian Version: v0.7.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator:latest
<details><summary>google-auth: 2.45.0</summary>

##
[2.45.0](v2.44.0...v2.45.0)
(2025-12-15)

### Features

* Adding Agent Identity bound token support and handling certificate
mismatches with retries (#1890)
([b32c934](b32c934e))

</details>