Skip to content

Releases: node-oauth/node-oauth2-server

5.3.0

15 Apr 09:27
cc70455

Choose a tag to compare

Attention! This release fixes a reported vulnerability in the PKCE workflow!

Read more here: GHSA-jhm7-29pj-4xvf

This affects all versions below 5.3.0.

What's Changed

PKCE fixes

  • proper enforcement of parameter ABNF
  • failed PKCE challenge revokes authorization code to prevent brute force
  • challenge comparison using timing safe comparison
  • plain challenges need explicit option enablePlainPKCE to be true when creating a new server instance

Other improvements

Dependencies

  • build(deps): bump actions/checkout from 4 to 5 by @dependabot[bot] in #364
  • build(deps-dev): bump mocha from 11.7.1 to 11.7.2 by @dependabot[bot] in #366
  • build(deps): bump actions/setup-node from 4 to 5 by @dependabot[bot] in #369
  • build(deps-dev): bump mocha from 11.7.2 to 11.7.3 by @dependabot[bot] in #371
  • build(deps-dev): bump mocha from 11.7.3 to 11.7.4 by @dependabot[bot] in #372
  • build(deps): bump github/codeql-action from 3 to 4 by @dependabot[bot] in #373
  • build(deps): bump actions/setup-node from 5 to 6 by @dependabot[bot] in #374
  • build(deps-dev): bump mocha from 11.7.4 to 11.7.5 by @dependabot[bot] in #375
  • build(deps-dev): bump js-yaml from 3.14.1 to 3.14.2 by @dependabot[bot] in #380
  • build(deps): bump glob from 10.4.5 to 10.5.0 by @dependabot[bot] in #381
  • build(deps): bump actions/checkout from 5 to 6 by @dependabot[bot] in #382
  • build(deps-dev): bump sinon from 21.0.0 to 21.0.1 by @dependabot[bot] in #385
  • build(deps-dev): bump chai from 4.5.0 to 6.2.2 by @dependabot[bot] in #386
  • build(deps): bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in #392
  • build(deps): bump actions/setup-node from 4 to 6 by @dependabot[bot] in #393
  • build(deps): bump actions/configure-pages from 4 to 5 by @dependabot[bot] in #394
  • build(deps): bump actions/checkout from 4 to 6 by @dependabot[bot] in #395
  • build(deps-dev): bump lodash from 4.17.21 to 4.17.23 by @dependabot[bot] in #396
  • build(deps-dev): bump vitepress from 2.0.0-alpha.15 to 2.0.0-alpha.16 by @dependabot[bot] in #401
  • build(deps): bump minimatch by @dependabot[bot] in #407
  • build(deps-dev): bump rollup from 4.54.0 to 4.59.0 by @dependabot[bot] in #408
  • build(deps-dev): bump sinon from 21.0.1 to 21.0.3 by @dependabot[bot] in #413
  • build(deps-dev): bump nyc from 17.1.0 to 18.0.0 by @dependabot[bot] in #406
  • build(deps): bump actions/configure-pages from 5 to 6 by @dependabot[bot] in #420
  • build(deps-dev): bump handlebars from 4.7.8 to 4.7.9 by @dependabot[bot] in #419

Full Changelog: v5.2.1...v5.3.0

5.2.2-rc.0

12 Jan 11:46
d4dc7c7

Choose a tag to compare

5.2.2-rc.0 Pre-release
Pre-release

What's Changed

New Contributors

Full Changelog: v5.2.1...v5.2.2-rc.0

v5.2.1

22 Jul 08:50
9ad4cd5

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v5.2.0...v5.2.1

v5.2.0

31 Jul 12:58
9a448b4

Choose a tag to compare

Installation 🚀

NPM Link: https://www.npmjs.com/package/@node-oauth/oauth2-server/v/5.2.0

$ npm install @node-oauth/oauth2-server@5.2.0

What's Changed

Fixes and improvements 🔧

Dependencies 📦

  • build(deps-dev): bump mocha from 10.2.0 to 10.3.0 by @dependabot in #277
  • build(deps-dev): bump mocha from 10.3.0 to 10.4.0 by @dependabot in #282
  • build(deps-dev): bump sinon from 15.2.0 to 17.0.2 by @dependabot in #287
  • build(deps-dev): bump sinon from 17.0.2 to 18.0.0 by @dependabot in #289
  • build(deps): bump readthedocs-sphinx-search from 0.1.1 to 0.3.2 in /docs by @dependabot in #275
  • build(deps-dev): bump nyc from 15.1.0 to 17.0.0 by @dependabot in #292
  • build(deps-dev): bump mocha from 10.4.0 to 10.6.0 by @dependabot in #299
  • build(deps-dev): bump mocha from 10.6.0 to 10.7.0 by @dependabot in #304
  • build(deps-dev): bump chai from 4.3.7 to 4.5.0 by @dependabot in #315
  • build(deps): bump github/codeql-action from 1 to 3 by @dependabot in #316

New Contributors 👏

Full Changelog: v5.1.0...v5.2.0

v5.1.0

14 Mar 09:04
c30c73c

Choose a tag to compare

Installation

NPM Link: https://www.npmjs.com/package/@node-oauth/oauth2-server/v/5.1.0

$ npm install @node-oauth/oauth2-server@5.1.0

What's Changed

Fixes

  • fix: update typing for validateScope making scope an optional parameter by @dhensby in #265
  • Compliance/fix scope by @jankapunkt in #267

Dependencies

New Contributors

Full Changelog: v5.0.0...v5.1.0

v5.1.0-rc.0

28 Nov 08:21
9562aa9

Choose a tag to compare

v5.1.0-rc.0 Pre-release
Pre-release

Installation / NPM Link

$ npm install @node-oauth/oauth2-server@5.1.0-rc.0

https://www.npmjs.com/package/@node-oauth/oauth2-server/v/5.1.0-rc.0

What's Changed

  • fix: update typing for validateScope making scope an optional parameter by @dhensby in #265
  • Compliance/fix scope by @jankapunkt in #267

New Contributors

Full Changelog: v5.0.0...v5.1.0-rc.0

v5.0.0

07 Nov 09:52
848a03a

Choose a tag to compare

This is a major release, including breaking changes!

Install this release

Npm link: https://www.npmjs.com/package/@node-oauth/oauth2-server/v/5.0.0

Install via

$ npm install  @node-oauth/oauth2-server@5.0.0

What's Changed

New Contributors

Full Changelog: v4.3.2...v5.0.0

v4.3.3

07 Nov 10:37
267d683

Choose a tag to compare

  • fixed pkce retrieve code challenge and method in body and query

Full Changelog: v4.3.2...v4.3.3

v5.0.0-rc.5

01 Nov 07:56
ca43d4a

Choose a tag to compare

v5.0.0-rc.5 Pre-release
Pre-release

Installation / NPM Link

$ npm install @node-oauth/oauth2-server@5.0.0-rc.5

https://www.npmjs.com/package/@node-oauth/oauth2-server/v/5.0.0-rc.5

What's Changed

New Contributors

Full Changelog: v5.0.0-rc.4...v5.0.0-rc.5

v5.0.0-rc.4

29 Sep 06:56
1c40926

Choose a tag to compare

v5.0.0-rc.4 Pre-release
Pre-release

Installation / NPM Link

$ npm install @node-oauth/oauth2-server@next

https://www.npmjs.com/package/@node-oauth/oauth2-server/v/5.0.0-rc.4

What's Changed

Full Changelog: v5.0.0-rc.3...v5.0.0-rc.4