github.com/cli/oauth
v1.2.2
#3374 most downloaded on Go modules
cli/oauth
What this package is like to depend on
Last release 2 months ago
22 Jun 2026
Release timing varies
gaps range from 2 weeks to 1.7 years
Most releases are documented
notes for 7 of 9 stable releases
Nothing withdrawn
no release was ever pulled
6 years old
24 releases · first in 2020
10 releases in the last 12 months
see the full history below
Release timeline
24 releases · Dec 2020 to Jun 2026Releases
latest 24-
v1.2.3-0.20260622202208-43c05247484b22 Jun 2026 pre-releaseNothing published for this version
-
v1.2.228 Jan 2026Release notes
Open source →Handle monotonic/wall clock drifts (device flow)
We have observed rare cases of time drift between the wall and monotonic clocks, mostly in WSL or VM environments, causing failures during polling for the OAuth token. This new release implements measures to account for such situations.
What's Changed
🐛 Fixes
- Account for fast mono clock when polling in device flow by @babakks in #111
- Fix comment about clock drift by @babakks in #112
Full Changelog: v1.2.1...v1.2.2
-
v1.2.2-0.20260128134010-21cb7d7fc7d928 Jan 2026 pre-releaseNothing published for this version
-
v1.2.2-0.20260128132841-6a15ea962cbb28 Jan 2026 pre-releaseNothing published for this version
-
v1.2.2-0.20260128120537-36cda407157228 Jan 2026 pre-releaseNothing published for this version
-
v1.2.2-0.20260122152455-2a0f734c7be922 Jan 2026 pre-releaseNothing published for this version
-
v1.2.2-0.20260120115458-11b96196a6fa20 Jan 2026 pre-releaseNothing published for this version
-
v1.2.2-0.20260120112146-f87eebc6291c20 Jan 2026 pre-releaseNothing published for this version
-
v1.2.2-0.20260116115905-80e2eb65cc7a16 Jan 2026 pre-releaseNothing published for this version
-
v1.2.118 Dec 2025Release notes
Open source →Handle
slow_downerror when polling (device flow)Originally, while polling for the access token as part of the device flow, the library would return an error upon receiving
slow_downfrom the OAuth server. However, polling should continue at increased intervals in such cases (See RFC 8628). This release fixes the previous behaviour.What's Changed
🐛 Fixes
New Contributors
Full Changelog: v1.2.0...v1.2.1
-
v1.2.014 Oct 2024 -
v1.1.2-0.20241014163653-6c44f6875c1114 Oct 2024 pre-releaseNothing published for this version
-
v1.1.109 Oct 2024Release notes
Open source →What's Changed
- Fix panic when Hostname is used by @williammartin in #70
- Only test supported versions 1.21-1.23 by @williammartin in #72
New Contributors
- @williammartin made their first contribution in #70
Full Changelog: v1.1.0...v1.1.1
-
v1.1.1-0.20241009112407-96b35bb7d20709 Oct 2024 pre-releaseNothing published for this version
-
v1.1.008 Oct 2024Release notes
Open source →What's Changed
- Introduce safe host parsing function by @mouismail in #63
New Contributors
- @mouismail made their first contribution in #63
Full Changelog: v1.0.1...v1.1.0
-
v1.0.2-0.20241008212502-afffc8e9e8de08 Oct 2024 pre-releaseNothing published for this version
-
v1.0.102 Feb 2023 -
v1.0.1-0.20230202095755-adf5f733ffd102 Feb 2023 pre-releaseNothing published for this version
-
v1.0.017 Dec 2022Release notes
Open source →What's New
-
Deprecate blocking functions
device.PollToken()andwebapp.Flow.AccessToken()in favor of newWait()functions that respect context cancellation and are expandable with future parameters via options struct by @mislav in #39 -
Device flow: expose
VerificationURICompletefor servers that support it by @tchandelle in #37 -
Support Google "OAuth 2.0 for TV and Limited-Input Device Applications" by @markandrus in #24
What's Changed
- Test with Go 1.19 by @mislav in #38
- Linter fixes by @mislav in #40
- Improve examples by @mislav in #41
New Contributors
- @tchandelle made their first contribution in #37
- @markandrus made their first contribution in #24
Full Changelog: v0.9.0...v1.0.0
-
-
v0.9.1-0.20221217174300-2bcde8998b1917 Dec 2022 pre-releaseNothing published for this version
-
v0.9.1-0.20221216160759-6f7124e9b2d816 Dec 2022 pre-releaseNothing published for this version
-
v0.9.1-0.20221216141511-f76cc807bfa916 Dec 2022 pre-releaseNothing published for this version
-
v0.9.015 Oct 2021Nothing published for this version
-
v0.8.018 Dec 2020Nothing published for this version