Skip to content

Releases: auth0/express-openid-connect

v1.0.0

02 Apr 08:55
e37fd9e
Compare
Choose a tag to compare

Full Changelog

Added

Changed

Fixed

v0.8.1

03 Mar 14:17
Compare
Choose a tag to compare

Full Changelog

Fixed

v0.8.0

27 Feb 19:42
Compare
Choose a tag to compare

Full Changelog

This release contains a breaking change for all applications. Please see the PR below for migration info.

Changed

v0.7.0

18 Feb 14:34
Compare
Choose a tag to compare

Full Changelog

Added

Changed

Fixed

v.0.6.0

14 Jan 20:21
Compare
Choose a tag to compare

Full Changelog

Breaking changes in this release:

This release includes important changes to user session and token handling which will require an update for all applications.

First, a new, required configuration key - appSessionSecret- has been added. The value here will be used to generate keys which are in turn used to encrypt the user identity returned from the identity provider. This encrypted and signed identity is stored in a cookie and used to populate the req.openid.user property, as before. This key should be set to either a secure, random value to use this built-in session or false to provide your own custom application session handling. A value for this can be generated with openssl like so:

❯ openssl rand -hex 32
f334eb9ee5898101f90047ec46f18c2f4c082f5eeef109920d6b0fc5b79b6f29

As part of these changes, a session middleware is no longer required for this library. One can be added and used for application session and tokens (see above and below, respectively) but initialization will no longer fail if one is not present.

Additionally, tokens returned from the identity provider will no longer be stored in a session middleware automatically. If your application requires access, refresh, or ID tokens to be retrieved and stored (not just the user identity), you will need to provide a method for that storage in version 0.6.0 and beyond. See our examples page for guidance.

Closed issues

  • "legacySameSiteCookie" for auth config params is not yet available in the typings file. #44
  • Validate configured routes #21

Added

Changed

v0.5.0

17 Oct 21:31
Compare
Choose a tag to compare

Full Changelog

Closed issues

  • Removal of automatic refresh #11

Added

Changed

  • Update default leeway and re-write API documentation #30 (joshcanhelp)

v0.4.0

26 Sep 20:48
Compare
Choose a tag to compare

Full Changelog

Important note: This release bumps the minimum Node version required to ^10.13.0.

Closed issues

  • GetUser #10
  • Thoughts on user info endpoint? #7

Changed

Removed