Skip to content

Releases: curveball/oauth2

v1.0.1

18 Feb 04:15
0efff0c
Compare
Choose a tag to compare
  • Emit 502 error when an issue occurs with reaching oauth2 server.

v1.0.0

17 Jan 21:52
f513cac
Compare
Choose a tag to compare
  • Finally! Curveball v1. Only took 6 years.
  • CommonJS support has been dropped. The previous version of this library supported both CommonJS and ESM. The effort of this no longer feels worth it. ESM is the future, so we're dropping CommonJS.
  • Now requires Node 18.
  • Upgraded to Typescript 5.3.
  • Removed node-fetch. All versions of Node supported by this library have a built-in fetch now

v0.5.0

16 Feb 21:00
48d7c31
Compare
Choose a tag to compare
  • This package now supports ESM and CommonJS modules.
  • No longer supports Node 14. Please use Node 16 or higher.

v0.4.1

04 Sep 01:59
49028c7
Compare
Choose a tag to compare
  • Stable release!
  • Switched to @badgateway/oauth2-client from fetch-mw-oauth2.

v0.4.0

03 Sep 23:52
6db5368
Compare
Choose a tag to compare
  • Upgraded from @curveball/core to @curveball/kernel.

v0.3.4

15 Jul 02:15
a865336
Compare
Choose a tag to compare

This is the version stable 0.3 release, and is backwards compatibility breaking.

Both this package and @curveball/browser-to-bearer now use the @badgateway/oauth2-client library for OAuth2 plumbing.
Setting up this middleware now requires an instance of the OAuth2Client class to be provided, instead of providing all the individual settings.

One advantage is that it can piggyback on all of oauth2-client features, in particular this adds support for:

  1. PKCE
  2. Endpoint discovery

It also changes how you get information about the current principal. This is now in ctx.auth. Check out the readme for the docs!

v0.2.1

24 Mar 22:37
4ab291a
Compare
Choose a tag to compare
  • Bring package fully up to date with coding standards and dependencies.

v0.2.0

01 Apr 16:04
914ff4e
Compare
Choose a tag to compare
  • Update everything to the latest Curveball standards.
  • No functional changes.

v0.1.3

06 Jan 03:34
538f212
Compare
Choose a tag to compare
  • Allow installation on Curveball 0.10.
  • @curveball/core is now a peerDependency.

v0.1.2

06 Jan 03:34
e487e4e
Compare
Choose a tag to compare
  • Correctly registering Request, Response, Header classes.