Skip to content

Releases: jasonraimondi/ts-oauth2-server

v4.0.10

05 Aug 02:03
ead20d7
Compare
Choose a tag to compare

chore: output comments in build files for jsdoc editor assistance

Full Changelog: v4.0.9...v4.0.10

v4.0.8

05 Aug 01:44
ca6bf2e
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.7...v4.0.8

v4.0.7

26 Jun 02:32
832999f
Compare
Choose a tag to compare

What's Changed

  • Fix missing extraJwtFields in access tokens obtained though refresh_token grant flow by @gamedevsam in #170

Full Changelog: v4.0.6...v4.0.7

v4.0.6

20 Jun 15:03
44c8d50
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.5...v4.0.6

v4.0.5

05 Jun 19:49
2ba3b84
Compare
Choose a tag to compare

What's Changed

Full Changelog: v4.0.4...v4.0.5

v4.0.4

04 Jun 18:19
1b98850
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v4.0.3...v4.0.4

v4.0.3

29 Mar 02:12
7980633
Compare
Choose a tag to compare

What's Changed

  • fix: call finalize scopes in client credentials and refresh token by @jasonraimondi in #160
  • docs(fix): incorrect identifier authorizationCodeRepository by @wxh06 in #158
  • docs(fix): update incorrect method description for scope finalize by @jasonraimondi in #160

New Contributors

Full Changelog: v4.0.2...v4.0.3

v4.0.2

25 Aug 00:27
d3f1d8d
Compare
Choose a tag to compare

What's Changed

  • feat: export error helper isOAuthError in d3f1d8d
  • docs: add nuxt adapter indocs by @devcui in #157

New Contributors

Full Changelog: v4.0.1...v4.0.2

v4.0.1

12 Aug 22:15
8850215
Compare
Choose a tag to compare
  • fix: express adapter status method causing build errors

Full Changelog: v4.0.0...v4.0.1

v4.0.0

12 Aug 02:17
cfe994b
Compare
Choose a tag to compare

Changes

There is one small breaking change for users implementing /revoke or /introspect`. And one minor, not technically breaking, but change in defaults.


(breaking) - The /revoke and /introspect endpoints will now authenticate via client_credentials by default

Before (v3.x):

new AuthorizationServer(..., {
  authenticateIntrospect: false, // default was false in 3.x
  authenticateRevoke: false,     // default was false in 3.x
})

After (v4.x):

const auth = new AuthorizationServer(..., {
  authenticateIntrospect: true, // set to false to match 3.x
  authenticateRevoke: true,     // set to false to match 3.x
})

(not-breaking, but a change) - The AuthorizationServer now enables by "client_credentials" and "refresh_token" by default.

Before (v3.x):

authorizationServer.enableGrant("client_credentials")
authorizationServer.enableGrant("revoke_token")

After (v4.x):

authorizationServer.enableGrant("client_credentials") // no longer necessary
authorizationServer.enableGrant("revoke_token") // no longer necessary

// but if you want to tweak the token length of either of these grants, you can 
authorizationServer.enableGrant(["client_credentials", new DateInterval("6h")])

Full Changelog: v3.6.0...v4.0.0