Skip to content

build(deps): bump golang.org/x/oauth2 from 0.21.0 to 0.27.0 in /samples/client/petstore/go - #24485

Closed
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/samples/client/petstore/go/golang.org/x/oauth2-0.27.0
Closed

build(deps): bump golang.org/x/oauth2 from 0.21.0 to 0.27.0 in /samples/client/petstore/go#24485
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/go_modules/samples/client/petstore/go/golang.org/x/oauth2-0.27.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 26, 2026

Copy link
Copy Markdown
Contributor

Bumps golang.org/x/oauth2 from 0.21.0 to 0.27.0.

Commits
  • 681b4d8 jws: split token into fixed number of parts
  • 3f78298 all: upgrade go directive to at least 1.23.0 [generated]
  • 109dabf endpoints: add links/provider for Discord
  • ac571fa oauth2: fix docs for Config.DeviceAuth
  • 314ee5b endpoints: add patreon endpoint
  • b9c813b google: add warning about externally-provided credentials
  • 49a531d all: make method and struct comments match the names
  • 22134a4 README: don't recommend go get
  • 3e64809 x/oauth2: add Token.ExpiresIn
  • 16a9973 jwt: rename example to avoid vet error
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Summary by cubic

Upgrade golang.org/x/oauth2 to v0.27.0 in the Petstore Go sample and align the module with Go 1.23.0 to match upstream requirements.

  • Dependencies

    • Bumped golang.org/x/oauth2 from 0.21.0 to 0.27.0.
    • Raised module go version to 1.23.0.
    • Updated github.com/stretchr/testify to v1.10.0 and refreshed indirect test deps.
    • Cleaned go.sum and removed unused modules.
  • Migration

    • Requires Go 1.23+. Update your local toolchain before building the sample.

Written for commit cf19259. Summary will update on new commits.

Review in cubic

Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.21.0 to 0.27.0.
- [Commits](golang/oauth2@v0.21.0...v0.27.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  dependency-version: 0.27.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Jul 26, 2026
@dependabot @github

dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor Author

Looks like golang.org/x/oauth2 is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Jul 27, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/samples/client/petstore/go/golang.org/x/oauth2-0.27.0 branch July 27, 2026 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants