José F. Romaniello
7b9f509641
5.0.4
2015-07-15 09:01:01 -03:00
José F. Romaniello
815a1a1663
5.0.3
2015-07-15 08:57:57 -03:00
José F. Romaniello
118ff1a7ba
5.0.2
2015-06-15 07:26:33 -05:00
Jared Hanson
214b9c435f
Bump version to 5.0.1.
2015-05-15 15:00:30 -07:00
Alberto Pose
db8fb93ad7
5.0.0
2015-04-10 17:48:02 -03:00
Alberto Pose
1e46234201
Updating to jws@^3.0.0
...
As `[email protected] ` changed the verify method signature to be `jws.verify(signature, algorithm, secretOrKey)`, the token header must be decoded first in order to make sure that the `alg` field matches one of the allowed `options.algorithms`. After that, the now validated `header.alg` is passed to `jws.verify`
As the order of steps has changed, the error that was thrown when the JWT was invalid is no longer the `jws` one:
{ [Error: Invalid token: no header in signature 'a.b.c'] code: 'MISSING_HEADER', signature: 'a.b.c' }
That old error (removed from jws) has been replaced by a `JsonWebTokenError` with message `invalid token`. That's why this change will bump be a major.
2015-04-10 12:38:41 -03:00
José F. Romaniello
e46ca66344
4.2.2
2015-03-26 16:44:53 -03:00
José F. Romaniello
4d22d08da2
4.2.1
2015-03-17 13:17:03 -03:00
José F. Romaniello
7863a84b1d
4.2.0
2015-03-16 20:38:43 -03:00
José F. Romaniello
b69d441c6e
4.1.0
2015-03-10 14:00:09 -03:00
José F. Romaniello
db1cb1c864
4.0.0
2015-03-06 12:10:44 -03:00
José F. Romaniello
92d33bd99a
this is a major change, it changes the default encoding from binary to utf8
2015-03-06 09:09:46 -03:00
Alberto Pose
8d7b90e799
3.2.2
2015-01-15 12:00:25 -03:00
Alberto Pose
89ec214008
Updating jws to 1.0.1
2015-01-15 12:00:09 -03:00
José F. Romaniello
41cc7b7d87
3.2.1
2015-01-08 08:55:40 -03:00
José F. Romaniello
fb3183e83b
fix engines section
2015-01-08 08:55:35 -03:00
José F. Romaniello
5e1c03fb90
3.2.0
2014-12-29 16:11:14 -03:00
José F. Romaniello
32702c25bd
3.1.1
2014-12-29 14:20:44 -03:00
José F. Romaniello
3854502087
3.1.0
2014-12-29 13:29:29 -03:00
José F. Romaniello
1076414a09
3.0.0
2014-12-29 13:06:24 -03:00
José F. Romaniello
b6483581c4
fix encoding issue. closes #40
2014-12-29 13:01:12 -03:00
José F. Romaniello
0aad51615b
2.0.0
2014-12-20 00:03:38 -03:00
siacomuzzi
eea72087db
1.3.0
2014-12-10 20:06:15 -03:00
Matias Woloski
87a17beeac
1.2.0
2014-11-25 23:15:55 -03:00
José F. Romaniello
b272ed87a5
1.1.2
2014-09-15 11:50:56 -03:00
José F. Romaniello
0bf9320df8
1.1.1
2014-09-05 08:02:44 -03:00
Matias Woloski
23f2cda813
1.1.0
2014-08-23 20:15:30 -03:00
Matias Woloski
7857913c70
1.0.2
2014-08-23 20:00:27 -03:00
Matias Woloski
ce32d758da
update jws to 0.2.6
2014-08-23 19:59:47 -03:00
Matias Woloski
e661cc446f
1.0.1
2014-08-23 19:48:30 -03:00
Matias Woloski
80fb9f0c48
1.0.0
2014-08-23 19:44:22 -03:00
Matias Woloski
342b86c499
0.4.1
2014-07-14 16:18:10 -03:00
Matias Woloski
44ed992ee5
exp should be unix timestamp in seconds, not milliseconds
2014-05-03 08:29:06 -03:00
Matias Woloski
145c01440d
0.3.0
2014-04-22 22:52:12 -03:00
dbarbera
5d553ed190
removes moment dependency using built-in Date.now()
2014-04-13 01:33:22 +02:00
José F. Romaniello
597750b1e4
0.2.0
2014-03-20 08:46:57 -03:00
Matias Woloski
a62a5854af
add moment as dep
2013-06-30 22:40:37 -03:00
Matias Woloski
77a2604edd
add mocha as devdep
2013-06-30 22:38:45 -03:00
Matias Woloski
6c2893ba8c
rename
2013-06-30 22:33:13 -03:00
Matias Woloski
07d163b2b1
initial
2013-06-30 22:27:13 -03:00