Releases: DanielHreben/atlassian-connect-auth
Releases · DanielHreben/atlassian-connect-auth
4.1.0
4.0.0 (December 5, 2022)
- Deprecate Node.js v12 support. The minimum supported version is now v14.
- Remove the upper Node.js version requirement
- Update all
devDependencies
3.0.2 (November 2, 2021)
Chores
- Add support of all Node.js LTS versions (from 12 to 16)
3.0.0 (October 22, 2021)
2.2.0 (March 25, 2020)
Features
- Allow passing
customExtractToken
function toAddon.prototype.auth
which makes it possible to extract the token from different locations in addition to default onesreq.headers.authorization
andreq.query.jwt
(#16)
2.1.0 (March 25, 2020)
Bugfixes
- Validate QSH in
Addon.prototype.auth
method (#15)
If you need to skip validation on endpoint that accept context JWT, passskipQsh: true
2.0.0 (March 25, 2020)
1.1.1 (December 16, 2020)
1.1.0 (December 2, 2020)
Features
- Handle error when we fail to decode token, pass the original error to
AuthError
(#10) - Pass original error object to
AuthError
when we fail to validate the signature (#10) - Update
atlassian-jwt
tov1.0.3
, wrap Express request object withjwt.fromExpressRequest
(#12)
Bugfixes
- Extract correct team id for Bitbucket (e13716a)
Chores
Add error codes
All thrown errors now has a code
field