Thanks to visit codestin.com
Credit goes to github.com

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.8.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.12.0
Choose a head ref
  • 7 commits
  • 12 files changed
  • 4 contributors

Commits on Jun 13, 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: I7a693f42e110b957194337a0d355dd1f2a5e14ca
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/502797
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Carlos Amedee <[email protected]>
    Run-TryBot: Gopher Robot <[email protected]>
    gopherbot committed Jun 13, 2023
    Configuration menu
    Copy the full SHA
    2323c81 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2023

  1. all: update dependencies to their latest versions

    This change was prepared by running:
    	go1.21rc2 get -u -t ./...
    	go1.21rc2 mod tidy -compat=1.17
    
    Change-Id: I533c4361aae073b7a5280aad2c2e5eea752df62a
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/506296
    Reviewed-by: Cody Oss <[email protected]>
    Run-TryBot: Bryan Mills <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Auto-Submit: Bryan Mills <[email protected]>
    Bryan C. Mills authored and gopherbot committed Jun 26, 2023
    Configuration menu
    Copy the full SHA
    989acb1 View commit details
    Browse the repository at this point in the history

Commits on Jul 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: I6b389549fe4bc53a62cb383c5fb10156ccfcffba
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/507840
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Run-TryBot: Gopher Robot <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Heschi Kreinick <[email protected]>
    gopherbot committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    ec5679f View commit details
    Browse the repository at this point in the history
  2. all: update go version to 1.18

    Go versions 1.16 and 1.17 are long since unsupported per Go release
    policy (https://go.dev/doc/devel/release#policy).
    
    Updating go.mod's go statement to 1.18 makes it so that 'go mod tidy'
    doesn't include checksums needed for the full module graph loaded by
    Go 1.16¹ that were recently added in CL 507840.
    
    It also makes go fix remove the now-obsolete // +build lines².
    
    Done using cmd/go at go1.21rc2:
    
    $ go get [email protected]
    go: upgraded go 1.17 => 1.18
    $ go mod tidy
    $ go fix ./...
    google/appengine_gen1.go: fixed buildtag
    google/appengine_gen2_flex.go: fixed buildtag
    internal/client_appengine.go: fixed buildtag
    
    ¹ https://go.dev/ref/mod#graph-pruning
    ² https://go.dev/doc/go1.18#go-build-lines
    
    Change-Id: I6c6295adef1f5c64a196c2e66005763893efe5e7
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/507878
    Auto-Submit: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Cody Oss <[email protected]>
    Run-TryBot: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Reviewed-by: Bryan Mills <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    dmitshur authored and gopherbot committed Jul 5, 2023
    Configuration menu
    Copy the full SHA
    ac6658e View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 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: I953aeb97bb9ed634f69dc93cf1f21392261c930c
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/516037
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    Run-TryBot: Gopher Robot <[email protected]>
    Reviewed-by: Carlos Amedee <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    gopherbot committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    2e4a4e2 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2023

  1. oauth2: move global auth style cache to be per-Config

    In 80673b4 (https://go.dev/cl/157820) I added a never-shrinking
    package-global cache to remember which auto-detected auth style (HTTP
    headers vs POST) was supported by a certain OAuth2 server, keyed by
    its URL.
    
    Unfortunately, some multi-tenant SaaS OIDC servers behave poorly and
    have one global OpenID configuration document for all of their
    customers which says ("we support all auth styles! you pick!") but
    then give each customer control of which style they specifically
    accept. This is bogus behavior on their part, but the oauth2 package's
    global caching per URL isn't helping. (It's also bad to have a
    package-global cache that can never be GC'ed)
    
    So, this change moves the cache to hang off the oauth *Configs
    instead. Unfortunately, it does so with some backwards compatiblity
    compromises (an atomic.Value hack), lest people are using old versions
    of Go still or copying a Config by value, both of which this package
    previously accidentally supported, even though they weren't tested.
    
    This change also means that anybody that's repeatedly making ephemeral
    oauth.Configs without an explicit auth style will be losing &
    reinitializing their cache on any auth style failures + fallbacks to
    the other style. I think that should be pretty rare. People seem to
    make an oauth2.Config once earlier and stash it away somewhere (often
    deep in a token fetcher or HTTP client/transport).
    
    Change-Id: I91f107368ab3c3d77bc425eeef65372a589feb7b
    Signed-off-by: Brad Fitzpatrick <[email protected]>
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/515675
    TryBot-Result: Gopher Robot <[email protected]>
    Reviewed-by: Roland Shoemaker <[email protected]>
    Reviewed-by: Adrian Dewhurst <[email protected]>
    Reviewed-by: Michael Knyszek <[email protected]>
    bradfitz committed Aug 9, 2023
    Configuration menu
    Copy the full SHA
    a835fc4 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2023

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

    Update golang.org/x dependencies to their latest tagged versions.
    
    Change-Id: I2fb95ca59417e20377bc315094221fa7165128c8
    Reviewed-on: https://go-review.googlesource.com/c/oauth2/+/525675
    Reviewed-by: Heschi Kreinick <[email protected]>
    Run-TryBot: Gopher Robot <[email protected]>
    Reviewed-by: Dmitri Shuralyov <[email protected]>
    TryBot-Result: Gopher Robot <[email protected]>
    Auto-Submit: Gopher Robot <[email protected]>
    gopherbot committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    0708528 View commit details
    Browse the repository at this point in the history
Loading