20 Commits
Author SHA1 Message Date
José F. Romaniello 40f1cce24c fail verification when exp is not a number. closes #28 2014-12-29 14:20:32 -03:00
José F. Romaniello bea8a31fd0 fix error when payload is not an object. Closes #14 2014-12-29 13:29:24 -03:00
José F. Romaniello b6483581c4 fix encoding issue. closes #40 2014-12-29 13:01:12 -03:00
José F. Romaniello 4ff7b6c0a8 Merge branch 'enforce-async-sync' of https://github.com/tapayne88/node-jsonwebtoken into tapayne88-enforce-async-sync
Conflicts:
	index.js
2014-12-19 23:45:25 -03:00
José F. Romaniello d380a1710e Merge branch 'master' of https://github.com/mprinc/node-jsonwebtoken into mprinc-master 2014-12-19 23:41:49 -03:00
Thomas Payne 0acfe4f503 Made verify truly asynchronous or synchronous, Zalgo has been contained! 2014-12-12 16:45:19 +00:00
Joshua Perry a135caacad Add support for aud array and scalar strings Fixes #33 2014-11-25 18:42:42 -07:00
Sasha Mile Rudan 9427f35512 Fixed bug in verify function with missing options and existing callback function 2014-11-15 00:17:50 +01:00
José F. Romaniello 01ba8a8443 do not throw exception when the payload is not json. related to #14 2014-09-15 11:50:50 -03:00
Marwan Hilmi f6e5e9d10d Verifying null fix. 2014-09-04 21:15:50 -07:00
Matias Woloski 687ab7ae48 merge #20 2014-08-23 19:39:40 -03:00
Nico Kaiser 70579b14c8 strict check of jwt token part count (avoid "TypeError: Cannot read property 'payload' of null" in some cases) 2014-08-14 11:22:49 +02:00
Matias Woloski 64f4860623 Merge pull request #10 from luisfarzati/multiple-audiences
Implements multiple audiences
2014-08-05 11:25:31 -03:00
Matias Woloski a9c6b4099a Merge pull request #11 from luisfarzati/typed-errors
Throws typed error when token is expired
2014-08-05 11:24:31 -03:00
Thiago Dantas 69db3ac363 decode invalid jwt token returns null 2014-08-03 12:41:04 +01:00
Matias Woloski dfddaa4bf5 fix security bug. JWT with alg none should fail if secretOrPulblicKey is passed 2014-07-14 16:18:05 -03:00
Luis Farzati 558ddc0c9c throws typed error when token is expired 2014-05-31 16:39:54 -03:00
Luis Farzati f9ebc95fb8 multiple audiences -- implements #4 2014-05-31 16:30:37 -03:00
dschenkelman f888f4f907 Fixes for issuer and audience only being checked when they have values 2014-04-22 22:43:54 -03:00
Matias Woloski 07d163b2b1 initial 2013-06-30 22:27:13 -03:00