Skip to content

Releases: dwyl/hapi-auth-jwt2

Handle Error Object passed into raise error (Boomify) #468 ref: #469

04 Jun 17:32
Compare
Choose a tag to compare

@virginiam1203 noted in #468 that they were having issues with error handling. 💥
Fixed with backward-compatible code in #469. 🎉

Exception and Decoded Token in Error Context #442

10 Dec 11:19
Compare
Choose a tag to compare
v10.5.0

Add exception and decoded token to error context #446 #442

Custom Error Raising

22 Aug 10:29
Compare
Choose a tag to compare

Adds ability to raise (custom) errors - for people who need extra control over the errors returned by thier API. defaults to standard Boom errors if an errorFunc is not defined. 100% backward compatible. (no change required) implemented by @jync in #183

Update Dependencies to Latest Hapi & Boom note: now requires Node v4 +

02 Nov 15:45
Compare
Choose a tag to compare
v5.2.0

update dependencies to latest version of hapi & boom

Update to Latest Hapi v11

17 Oct 23:13
Compare
Choose a tag to compare

No code change required. Backward compatible with previous versions of Hapi

Fixes Try Mode Regression

17 Oct 12:02
Compare
Choose a tag to compare

Support Try Mode - Only Runs this Plugin if mode is "required"

13 Oct 15:03
Compare
Choose a tag to compare

Allow additional strategies to authenticate if no token is found

09 Oct 10:09
Compare
Choose a tag to compare

Previously This Plugin did not "Play Well" with other Strategies.
Now it does.
See: #104

Recommended Update - Prevents Server Crash by wrapping JWT.decode in try/catch

21 Aug 16:36
Compare
Choose a tag to compare

Semantic Error Status Codes and Remove Dependency on Hoek (Breaking Change!!)

11 Aug 14:25
Compare
Choose a tag to compare
v5.0.0

Sends correct http (error) status code. breaking change. see: https:/…