Changelog (Page 8)
5.4.0 (2018-11-18)
Section titled “5.4.0 (2018-11-18)”Bug Fixes
Section titled “Bug Fixes”- handle potentially unvalidated response mode in authz error handler (ee501d1)
- issue new session identifiers when session changes (56d04e6)
- omit saving an empty session on initial authorize request (d0b7069)
Features
Section titled “Features”- allow omitting redirect_uri in code exchange at the token endpoint when there is just one registered (8cdd407)
- update of draft-ietf-oauth-resource-indicators from 00 to 01 (1302a54), closes #385
5.3.0 (2018-11-05)
Section titled “5.3.0 (2018-11-05)”Bug Fixes
Section titled “Bug Fixes”- upgrade min node-jose version to fix its performance in node (f1cb4c6)
Features
Section titled “Features”- sessionManagement frame uses Storage Access API to detect errors (156e12d)
5.2.0 (2018-11-01)
Section titled “5.2.0 (2018-11-01)”Draft Features
Section titled “Draft Features”- sessionManagement feature doesn’t set a default thirdPartyCheckUrl anymore (0015c38)
With the sunset of https://rawgit.com i’m not going to look for a replacement CDN that hosts github content using the right content-type. This addition to sessionManagement is a gimmick helping only in a small % of cases anyway.
Note: Updates to draft and experimental specification versions are released as MINOR library versions,
if you utilize these specification implementations consider using the tilde ~ operator in your
package.json since breaking changes such as this one may be introduced as part of these version updates.
5.1.2 (2018-10-23)
Section titled “5.1.2 (2018-10-23)”Bug Fixes
Section titled “Bug Fixes”5.1.0 (2018-10-03)
Section titled “5.1.0 (2018-10-03)”Bug Fixes
Section titled “Bug Fixes”- ignore sector_identifier_uri when subject_type is not pairwise (416e379)
Features
Section titled “Features”- added Resource Indicators for OAuth 2.0 - draft 00 implementation (1bc2994)
5.0.1 (2018-09-27)
Section titled “5.0.1 (2018-09-27)”5.0.0 (2018-09-26)
Section titled “5.0.0 (2018-09-26)”Bug Fixes
Section titled “Bug Fixes”- change conformIdTokenClaims default value to true (ef40f6d)
- devInteractions also have no-cache headers, doesn’t set acr (9d7a032)
- ensure non-whitelisted JWA algs cannot be used by
*_jwtclient auth (186de0d) - extraClientMetadata.properties keys do not get transformed (837beca)
- fixed 500 in client update checking client_secret equality (bad6348)
- remove deprecated passing of scope with consent results (35f13bc)
- remove deprecated Session.find upsert behaviour (73e07bd)
- remove deprecated unused exported errors (fc3f509)
- remove got 8 > 9(retries > retry) option re-assign behaviour (db31d32)
- secretFactory is now used in client update (0923f52)
- validate secret length for client_secret_jwt with no alg specified (ab64268)
Code Refactoring
Section titled “Code Refactoring”- IdToken constructor and
#sign()method changes (bb4269f) - moved thirdPartyCheckUrl under features.sessionManagement (c3f84b2)
- renamed deviceCode feature to deviceFlow (cd57d77)
Features
Section titled “Features”- added self_signed_tls_client_auth client authentication method (9a1f0a3)
- added tls_client_auth client authentication method (ce2bf66)
- allow custom mechanisms for handling pairwise identifiers (57ce6d7)
- back and front-channel can be enabled without sessionManagement (8cb37ff)
- dynamic token expiration (6788b83)
- enable Certificate Bound Access Tokens (f43d820)
- enable explicit whitelist of JWA algorithms (0604e08)
- enable token storage and representation format to be dynamic (8487bd8)
- invalid_token errors now have a detail to aid in debugging or logs (b8324b7)
- JWT Secured Authorization Response Mode for OAuth 2.0 (JARM) (c759415)
- opaque is the default adapter format now (75e7a3f)
- unify audiences helper function signature (fd38600)
BREAKING CHANGES
Section titled “BREAKING CHANGES”- the configuration option
pairwiseSaltis replaced withpairwiseIdentifierasync helper function. This allows for different means of generating the pairwise identifier to be implemented, such as the ones mentioned in Core 1.0 - Passing
scopeto interaction result’sconsentproperty is no longer supported cookies.thirdPartyCheckUrlis now configured withfeatures.sessionManagement.thirdPartyCheckUrlinsteadfeatures.deviceCodeis nowfeatures.deviceFlowanddeviceCodeSuccesshelper function is nowdeviceFlowSuccess- In order for dynamic token expiration to be able to
pass a client instance to the helpers it is now better to pass a
clientproperty being the client instance to a new token instance rather then aclientId. When passing a client theclientIdwill be set automatically. - the default adapter format is now set to opaque, the legacy “legacy” value is still available for legacy deployments but cannot be combined with the new dynamic format feature option and is considered deprecated and will be removed in the next major release.
- the
defaultenabled JWA algorithms have changed. See the newwhitelistedJWAconfiguration option to re-enable the ones you need. - the configuration
unsupportedproperty is removed, use the configurationwhitelistedJWAobject instead. This isn’t a 1:1 renaming of a configuration value, while theunsupportedoption was essentually a blacklist thewhitelistedJWAas the name suggests is a whitelist. - the
RSA-OAEP-256key wrapping algorithm has been removed and is not configurable since it is not supported natively in nodejs. - IdToken constructor now requires the client instance
to be passed in as a second argument. IdToken instance
.sign()now takes just one argument with the options. - when a symmetric endpoint authentication signing alg is not specified the secret will be validated such that it can be used with all available HS bit lengths
- audience helper
tokenargument will no longer be a reference to other tokens than the one to which the audiences will be pushed. - audience helper
scopeargument is no longer available generateTokenIdformat method is now a prototype method instead of a class one- the http request option
retrieswill no longer be transformed intoretry, seegot@^9.0.0package for theretryoptions - exported errors
RestrictedGrantTypeandRestrictedResponseTypeare no longer available - Session.find default upsert behaviour is changed to return a new empty session instead
- change conformIdTokenClaims default value to true
- custom client metadata properties will not get
transformed between snake_case and camelCase anymore to allow for
namespaced metadata properties such as
custom://metadata