Skip to content

Releases: cli/oauth

v1.2.2

28 Jan 15:59
fe4619f

Choose a tag to compare

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.1

19 Dec 11:03
d28c578

Choose a tag to compare

Handle slow_down error 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_down from 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.0

15 Oct 22:46
6c44f68

Choose a tag to compare

What's Changed

  • feat: Add support for audience in authorization request by @abhisek in #68

New Contributors

Full Changelog: v1.1.1...v1.2.0

v1.1.1

09 Oct 11:28
96b35bb

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.1.0...v1.1.1

v1.1.0

08 Oct 21:37
afffc8e

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v1.0.1...v1.1.0

oauth 1.0.1

02 Feb 10:01
adf5f73

Choose a tag to compare

What's Changed

  • Handle case when Device Flow is disabled for the OAuth app by @mislav in #48

Full Changelog: v1.0.0...v1.0.1

oauth 1.0.0

17 Dec 18:13
d1a6431

Choose a tag to compare

What's New

  • Deprecate blocking functions device.PollToken() and webapp.Flow.AccessToken() in favor of new Wait() functions that respect context cancellation and are expandable with future parameters via options struct by @mislav in #39

  • Device flow: expose VerificationURIComplete for 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

New Contributors

Full Changelog: v0.9.0...v1.0.0

v0.9.0: Merge pull request #7 from jamierocks/server

15 Oct 17:46
ce77fe6

Choose a tag to compare

What's Changed

  • Expose refresh token (used by GitHub Apps) by @swinton in #9
  • Support third-party OAuth hosts by @jamierocks in #7

New Contributors