Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.2.1
Choose a base ref
...
head repository: googleapis/google-auth-library-python
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.3.0
Choose a head ref
  • 5 commits
  • 22 files changed
  • 7 contributors

Commits on Oct 1, 2021

  1. fix: ADC with impersonated workforce pools (#877)

    While service account impersonation is uncommonly used with workforce
    pool external credentials, there is a bug where the following commands
    raise exceptions when impersonated workforce pools are used:
    
    - `google.auth.default()`
    - `google.auth.load_credentials_from_file()`
    
    The issue is due to `google.auth.aws.Credentials` not supporting the
    `workforce_pool_user_project` argument in the constructor, unlike
    `google.auth.identity_pool.Credentials`.
    
    This was indirectly passed here:
    https://github.com/googleapis/google-auth-library-python/blob/a37ff00d7afd6c7aac2d0fab29e05708bbc068be/google/auth/external_account.py#L395
    Causing a TypeError to be raised (we only catch ValueError).
    
    Updated the credential determination logic to explicitly check the
    subject token type. This is a more reliable indicator instead of a
    try/catch.
    
    Increased unit test coverage in tests/test__default.py to cover these
    credentials.
    bojeil-google authored Oct 1, 2021
    Configuration menu
    Copy the full SHA
    10bd9fb View commit details
    Browse the repository at this point in the history

Commits on Oct 6, 2021

  1. build: use trampoline_v2 for python samples and allow custom dockerfi…

    …le (#881)
    
    * build: use trampoline_v2 for python samples and allow custom dockerfile
    
    Source-Link: googleapis/synthtool@a7ed11e
    Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:6e7328583be8edd3ba8f35311c76a1ecbc823010279ccb6ab46b7a76e25eafcc
    
    * chore: add trampolinerc
    
    Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
    Co-authored-by: Bu Sun Kim <busunkim@google.com>
    3 people authored Oct 6, 2021
    Configuration menu
    Copy the full SHA
    35b198d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5096f46 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2021

  1. Configuration menu
    Copy the full SHA
    19d41f8 View commit details
    Browse the repository at this point in the history
  2. chore: release 2.3.0 (#884)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Oct 7, 2021
    Configuration menu
    Copy the full SHA
    81b4217 View commit details
    Browse the repository at this point in the history
Loading