70 Commits
Author SHA1 Message Date
José F. Romaniello 1076414a09 3.0.0 v3.0.0 2014-12-29 13:06:24 -03:00
José F. Romaniello d958fcac04 Merge branch 'fix_encoding_issue' 2014-12-29 13:06:13 -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 v2.0.0 2014-12-20 00:03:38 -03:00
José F. Romaniello 38d168e572 Merge pull request #25 from awlayton/master
Allow passing JOSE headers to sign function
2014-12-20 00:02:08 -03:00
José F. Romaniello 0a9888fd8f Merge branch 'Asana-option-no-timestamp' 2014-12-19 23:50:02 -03:00
José F. Romaniello 81e45ae3b5 Merge branch 'option-no-timestamp' of https://github.com/Asana/node-jsonwebtoken into Asana-option-no-timestamp
Conflicts:
	index.js
2014-12-19 23:49:06 -03:00
José F. Romaniello 7c13631184 Merge branch 'tapayne88-enforce-async-sync' 2014-12-19 23:45:56 -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 d655dda79d Merge branch 'mprinc-master' 2014-12-19 23:42:08 -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
siacomuzzi eea72087db 1.3.0 2014-12-10 20:06:15 -03:00
siacomuzzi f5a7b7b022 jwt header: support custom parameters 2014-12-10 20:03:56 -03:00
Matias Woloski 87a17beeac 1.2.0 2014-11-25 23:15:55 -03:00
Matias Woloski 21117efc1a Merge pull request #34 from prodatakey/master
Add support for aud array and scalar strings Fixes #33
2014-11-25 23:13:20 -03:00
Joshua Perry a135caacad Add support for aud array and scalar strings Fixes #33 2014-11-25 18:42:42 -07:00
José F. Romaniello 9b523c9d82 Merge pull request #32 from pose/patch-1
Update README.md
2014-11-24 10:13:11 -03:00
Alberto Pose 06d35b6e72 Update README.md 2014-11-24 10:08:32 -03:00
Sasha Rudan f41559a0d5 Update index.js
Removed console.log() leftover
2014-11-15 00:54:42 +01: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
Isaac Wolkerstorfer 05e68ca350 Update README 2014-10-13 09:48:11 +02:00
Isaac Wolkerstorfer 9d5c91a1cc Allow noTimestamp option 2014-10-13 09:45:54 +02:00
José F. Romaniello b272ed87a5 1.1.2 v1.1.2 2014-09-15 11:50:56 -03: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
Alex Layton b82831bc59 Allow passing JOSE headers to sign function
Any properties of options.headers are added to the header passed to jws.
2014-09-11 12:45:14 -04:00
José F. Romaniello 0bf9320df8 1.1.1 v1.1.1 2014-09-05 08:02:44 -03:00
José F. Romaniello da0a642f75 Merge branch 'marwanhilmi-master' 2014-09-05 08:02:37 -03:00
Marwan Hilmi f6e5e9d10d Verifying null fix. 2014-09-04 21:15:50 -07:00
Matias Woloski 23f2cda813 1.1.0 2014-08-23 20:15:30 -03:00
Matias Woloski 0e6da360b0 misplaced parenthesis fix #12 2014-08-23 20:14:01 -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 75da74626e use math.floor instead of round fixes #17 2014-08-23 19:46:44 -03:00
Matias Woloski 80fb9f0c48 1.0.0 2014-08-23 19:44:22 -03:00
Matias Woloski a5080030a1 use audiences not options.audience pr #22 2014-08-23 19:43:30 -03:00
Matias Woloski 9d1ad6ad1b Merge pull request #21 from neonstalwart/patch-1
force jws to always parse the payload as JSON
2014-08-23 19:41:51 -03:00
Matias Woloski 687ab7ae48 merge #20 2014-08-23 19:39:40 -03:00
Matias Woloski 731bec2cb5 Merge pull request #19 from nicokaiser/fix/semicolons
Minor code tweaks (missing semicolon)
2014-08-23 19:36:41 -03:00
Matias Woloski 2f07822e64 Merge pull request #18 from nicokaiser/fix/typeerror-payload
strict check of jwt token part count (avoid "TypeError: Cannot read property 'payload' of null" in some cases)
2014-08-23 19:36:01 -03:00
Ben Hockey c0267ad35b force jws to always parse the payload as JSON
since the verify code assumes properties like `payload.aud` and `payload.exp` it seems reasonable to force jws to always parse the payload as JSON or else these properties won't exist.
2014-08-23 17:25:11 -05:00
Nico Kaiser 14698d27f2 Minor code tweaks (missing semicolon) 2014-08-14 11:26:10 +02: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
Matias Woloski 7eed15299e Merge pull request #16 from tdantas/master
decode invalid jwt token returns null
2014-08-05 11:23:30 -03:00
Thiago Dantas 69db3ac363 decode invalid jwt token returns null 2014-08-03 12:41:04 +01:00
Matias Woloski 342b86c499 0.4.1 2014-07-14 16:18:10 -03: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