Skip to content
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: golang/oauth2
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.5.0
Choose a base ref
...
head repository: golang/oauth2
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.7.0
Choose a head ref
  • 11 commits
  • 12 files changed
  • 8 contributors

Commits on Feb 17, 2023

  1. google/internal/externalaccount: Removed URL validation for google UR…

    …Ls in ADC files
    
    Removes URL validation for token_url, service_account_impersonation_url to allow for TPC urls and adds line to the docs to warn users. See googleapis/google-auth-library-nodejs#1517 for same change in node.js library.
    
    Change-Id: I85fa67ee0b99deed2adb75668a1b5501851c499c
    GitHub-Last-Rev: 15d7759
    GitHub-Pull-Request: #627
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/465696
    Reviewed-by: Cody Oss <codyoss@google.com>
    Run-TryBot: Cody Oss <codyoss@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Leo Siracusa <leosiracusa@google.com>
    aeitzman authored and codyoss committed Feb 17, 2023
    Copy the full SHA
    c82d0e1 View commit details

Commits on Feb 27, 2023

  1. google: use Credentials instead of deprecated DefaultCredentials

    Change-Id: Ie2d972df025f6b6b7d172015aae7eb34e355cb28
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/412034
    Reviewed-by: Matt Hickford <matt.hickford@gmail.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Run-TryBot: Cody Oss <codyoss@google.com>
    Reviewed-by: Matthew Hickford <hickford@google.com>
    Run-TryBot: Matt Hickford <matt.hickford@gmail.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    Reviewed-by: Cody Oss <codyoss@google.com>
    zchee authored and gopherbot committed Feb 27, 2023
    Copy the full SHA
    6f9c1a1 View commit details

Commits on Mar 3, 2023

  1. google: Add support for OAuth2 token exchange over mTLS

    With Context Aware Access enabled, users must use the endpoint "https://oauth2.mtls.googleapis.com/token" for token exchange. This PR adds support for runtime configuration of the OAuth2 token endpoint (as determined by the caller). If using the mTLS oauth2 endpoint, the caller will also need to specify an mTLS-enabled HTTPClient via the "context" mechanism for use by the OAuth2 transport.
    
    Change-Id: Ic83342ec1d224d3acdabf00d863249330424fc54
    GitHub-Last-Rev: 07e4849
    GitHub-Pull-Request: #630
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/470396
    Run-TryBot: Matthew Hickford <hickford@google.com>
    Reviewed-by: Shin Fan <shinfan@google.com>
    Run-TryBot: Shin Fan <shinfan@google.com>
    Reviewed-by: Matthew Hickford <hickford@google.com>
    Reviewed-by: Andy Zhao <andyzhao@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    andyrzhao authored and shinfan committed Mar 3, 2023
    Copy the full SHA
    885f294 View commit details

Commits on Mar 5, 2023

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    Once this CL is submitted, and post-submit testing succeeds on all
    first-class ports across all supported Go versions, this repository
    will be tagged with its next minor version.
    
    Change-Id: If7957dff90ca75fa8fd84ace90ed15066bfd3e48
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/473438
    Reviewed-by: Heschi Kreinick <heschi@google.com>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
    Run-TryBot: Gopher Robot <gobot@golang.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    gopherbot committed Mar 5, 2023
    Copy the full SHA
    62b4eed View commit details

Commits on Mar 10, 2023

  1. README: encourage issues and proposals before changes

    Text verbatim from https://go.dev/doc/contribute
    
    Change-Id: Iefdcf9e9f771b9e55601bf9c9b59e20593b4573a
    GitHub-Last-Rev: ba45caa
    GitHub-Pull-Request: #632
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/471281
    Run-TryBot: Matthew Hickford <hickford@google.com>
    Reviewed-by: Heschi Kreinick <heschi@google.com>
    Reviewed-by: Matthew Hickford <hickford@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    hickford authored and heschi committed Mar 10, 2023
    Copy the full SHA
    2fc4ef5 View commit details

Commits on Mar 17, 2023

  1. google: update missing auth help URL

    Update the URL to a newer page that better describes how to set
    up credentials in different environments.
    
    Change-Id: Ic0726fe298c543265d333cda60d62c235e4e2293
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/473735
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    Run-TryBot: Cody Oss <codyoss@google.com>
    Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
    Auto-Submit: Cody Oss <codyoss@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    codyoss authored and gopherbot committed Mar 17, 2023
    Copy the full SHA
    54b70c8 View commit details

Commits on Mar 22, 2023

  1. google: Updating 3pi documentation

    Fixing dead links in workload docs, adds workforce documentation
    
    Change-Id: Ifad86e1937997f96ef577f5469d1e6fe496197b5
    GitHub-Last-Rev: af28808
    GitHub-Pull-Request: #638
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/478555
    Auto-Submit: Cody Oss <codyoss@google.com>
    Reviewed-by: Leo Siracusa <leosiracusa@google.com>
    Reviewed-by: Cody Oss <codyoss@google.com>
    Run-TryBot: Cody Oss <codyoss@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    aeitzman authored and gopherbot committed Mar 22, 2023
    Copy the full SHA
    a6e37e7 View commit details

Commits on Mar 24, 2023

  1. oauth2: fix typo

    Change-Id: I515f8897cc79c58a8a49df84ccddc5acd9536d87
    GitHub-Last-Rev: 5acbebb
    GitHub-Pull-Request: #616
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/459695
    Run-TryBot: Cody Oss <codyoss@google.com>
    Reviewed-by: Heschi Kreinick <heschi@google.com>
    Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Cody Oss <codyoss@google.com>
    Reviewed-by: Matt Hickford <matt.hickford@gmail.com>
    thomas-goncalves authored and gopherbot committed Mar 24, 2023
    Copy the full SHA
    86850e0 View commit details

Commits on Mar 28, 2023

  1. oauth2: add ReuseTokenSourceWithExpiry

    Add a constructor which allows for the configuration of the expiryDelta
    buffer. Due to the construction of reuseTokenSource and Token we need
    to store the new delta in both places, so the behavior of Valid is
    consistent regardless of where it is called from.
    
    Fixes #623
    
    Change-Id: I89f9c206a9cc16bb473b8c619605c8410a82fff0
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/479676
    Run-TryBot: Roland Shoemaker <roland@golang.org>
    Reviewed-by: Cody Oss <codyoss@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    rolandshoemaker committed Mar 28, 2023
    Copy the full SHA
    1e7f329 View commit details

Commits on Mar 29, 2023

  1. google: add CredentialsParams.EarlyTokenRefresh

    This option is a followup to to cl/479676 where an option was added
    to configure the preemptive token refresh. Currently the option
    in this package is only being used by compute credentials. In the
    future we can support more/all auth flows but that would require
    a lot of new surfaces to be added. Compute credentials are currently
    the only case where we are expirencing the need to configure this
    setting.
    
    Change-Id: Ib78ca4beec44d0fe030ae81e84c8fcc4924793ba
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/479956
    Run-TryBot: Cody Oss <codyoss@google.com>
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Reviewed-by: Roland Shoemaker <roland@golang.org>
    codyoss authored and rolandshoemaker committed Mar 29, 2023
    Copy the full SHA
    4abfd87 View commit details

Commits on Apr 6, 2023

  1. go.mod: update golang.org/x dependencies

    Update golang.org/x dependencies to their latest tagged versions.
    Once this CL is submitted, and post-submit testing succeeds on all
    first-class ports across all supported Go versions, this repository
    will be tagged with its next minor version.
    
    Change-Id: If1689e1b37e36e8e8dd1cfc37fe9cb94bd49c807
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/482856
    TryBot-Result: Gopher Robot <gobot@golang.org>
    Auto-Submit: Gopher Robot <gobot@golang.org>
    Reviewed-by: Carlos Amedee <carlos@golang.org>
    Run-TryBot: Gopher Robot <gobot@golang.org>
    Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
    gopherbot committed Apr 6, 2023
    Copy the full SHA
    3607514 View commit details
Loading