Skip to content

Releases: Brightspace/node-auth

v8.1.0

24 Aug 14:18
v8.1.0
1e4e09a
Compare
Choose a tag to compare
* [MINOR] AuthTokenValidator now sends a custom User-Agent header when
  fetching keys from the issuer.
* [MINOR] AuthTokenValidator has gained a name option which consumers
  should specify on construction. This name is included as part of the
  User-Agent header, if specified.

v8.0.0

04 May 20:48
v8.0.0
3a47269
Compare
Choose a tag to compare
* [MAJOR] Require node.js 12+
* [MAJOR] keys and provisioning now produce and expect KeyObjects
  instead of PEM strings for signing keys

v7.0.1

01 May 21:20
v7.0.1
d3c5f14
Compare
Choose a tag to compare
* reverts KeyObject usage in keys and provisioning as the return-type
  differences between node versions was surprising

  thanks Jeff Kehres!

* dependency updates

v7.0.0

15 May 14:45
v7.0.0
846fa57
Compare
Choose a tag to compare
* [MAJOR] require node 10.12+
* [MAJOR] all objects are now Classes and _must_ be "new"ed

brightspace-auth-assertions
  *
  * Better error messages!

brightspace-auth-keys
  * [MAJOR] KeyGenerator is now an EventEmitter and will emit error
    events
  * [MAJOR] KeyGenerator and CoreKeyGenerator constructor options have
    changed. Review the README.
  * [MAJOR] CoreKeyGenerator generateNewKeys() has been renamed to
    generateNewKey() and accepts an expiry time. Review the README.
  * Now uses node built-in key generation!
  * KeyGenerator will now save and store the next public key early to
    improve robustness in cases of failure, and reduce external delays
    when the key is introduced.

brightspace-auth-provisioning
  * [MAJOR] now requires supplied key has an appropriate "alg" property

brightspace-auth-token
  * [MAJOR] token.context now returns a String
  * [MAJOR] BrightspaceAuthToken.contexts has been removed

brightspace-auth-validation
  * Now respects the "exp" field of JWKs
  * Will now use KeyObjects in 11+, greatly improving validation speed!

v6.0.2

21 Mar 14:12
v6.0.2
0226d21
Compare
Choose a tag to compare
* Update dependency jwk-to-pem to ^2.0.0

v6.0.1

01 Mar 21:33
v6.0.1
633f5ea
Compare
Choose a tag to compare
* brightspace-auth-provisioning
  * throw proper error when keyLookup returns null

v6.0.0

25 Jan 02:12
v6.0.0
dd6f59b
Compare
Choose a tag to compare
* Moved all brightspace-auth-* packages into one monorepo
  * [MAJOR] Packages are now versioned in lockstep

* brightspace-auth-validation
  * [MAJOR] Methods now return native ES6 promises

* brightspace-auth-assertions
  * [MINOR] Add impersonation assertions

* brightspace-auth-keys-dynamodb-store
  * [MINOR] New package!
  * AbstractPublicKeyStore implementation for brightspace-auth-keys

* brightspace-auth-keys-redis-store
  * [MINOR] New package!
  * AbstractPublicKeyStore implementation for brightspace-auth-keys