express-openid-connect
Advanced tools
Changelog
v1.0.1 (2020-04-17)
Fixed
Changelog
v1.0.0 (2020-03-30)
Added
Changed
Fixed
Changelog
v0.8.0 (2020-02-26)
This release contains a breaking change for all applications. Please see the PR below for migration info.
Changed
Changelog
v0.7.0 (2020-02-18)
Added
Changed
Fixed
Changelog
v0.6.0 (2020-01-14)
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
(changed to appSession.secret
in v0.8.0) - 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
Added
Changed
Changelog
v0.5.0 (2019-10-17)
Closed issues
Added
Changed
Changelog
v0.4.0 (2019-09-26)
Important note: This release bumps the minimum Node version required to ^10.13.0
.
Closed issues
Changed
Removed