Commit Graph

337 Commits

Author SHA1 Message Date
Zadkiel
47529f4f14
Update package.json 2018-10-02 19:52:16 +02:00
kaisle
eba9925f2a Add cookie support 2018-09-27 10:53:48 +02:00
Andrés Aguiar
c0e66b62d7 Update README.md 2017-08-31 15:53:25 -03:00
Andrés Aguiar
b504cee60c Update README.md 2017-08-31 14:54:21 -03:00
Ryan Chenkie
9b644e22ce deprecate sample 2017-05-09 11:34:43 -04:00
Root-Core
250312152a Fixed mocha tests by not using expiresInMinutes
Using `expiresInMinutes` leads to errors, as it was deprecated in
`jsonwebtoken` > 5.7.0.
We should use `expiresIn` instead.
2017-04-19 00:33:26 +02:00
Root-Core
4033483154 Fixed mocha tests by downgrading "jsonwebtoken"
Version 5.7.0 is the last working.
2017-04-19 00:23:05 +02:00
Root-Core
cc3d6b22b7 Fixed dirty copy and paste mistake.. 2017-04-19 00:01:18 +02:00
Root-Core
025952dcc7 Fixed dirty cherry-pick 2017-04-18 23:56:22 +02:00
Root-Core
49382198ad fixed tab 2017-04-18 23:37:21 +02:00
Root-Core
d340c81fd5 Added option to store encoded jwt, default "encoded_token" 2017-04-18 23:31:38 +02:00
Root-Core
d2cc8fb514 Renamed "data" to "socket", updated deps 2017-04-18 23:26:47 +02:00
Root-Core
72f3846fcf Added definition file, exported UnauthorizedError 2017-04-18 23:21:07 +02:00
Philippe
cac4cb06c8 fix spelling 2017-01-04 11:09:02 +01:00
Root-Core
640e8d0ef0 Fix authentication for namespaces #95
Try to get the token from query string, which is stored in the sockets "handshake" object.

This should fix #95 and be a more elegant (say valid) approach.
2016-11-22 14:27:04 +01:00
José F. Romaniello
90f431741b Merge pull request #100 from BruceHem/patch-1
Fix authentication flow on client side
2016-08-19 14:10:17 -03:00
José F. Romaniello
1b4eeab7ea Merge pull request #94 from Amialc/master
lock v10 update
2016-08-19 14:09:59 -03:00
Bruce Hem
674bbb659a Fix authentication flow on client side 2016-08-19 22:01:36 +07:00
Vlad
aed1aeb765 bumped lock version 2016-07-21 18:14:59 +03:00
Vlad
f115bbabb1 lock v10 update 2016-07-11 23:07:28 +03:00
José F. Romaniello
5a5cd7c45a Merge pull request #66 from gjsmith66/gjsmith66-patch-1
Update README.md
2016-06-21 14:48:07 +02:00
José F. Romaniello
fc68f5651c 4.5.0 2016-06-21 09:46:30 -03:00
José F. Romaniello
b78156dc91 Merge pull request #69 from Daedalus11069/daedalus11069-patch-optional-async
Make .disconnect() async call optional
2016-06-21 14:46:19 +02:00
José F. Romaniello
e78e376480 Merge branch 'jghaines-master' 2016-06-21 09:41:31 -03:00
José F. Romaniello
f42058af06 Merge branch 'master' of https://github.com/jghaines/socketio-jwt into jghaines-master 2016-06-21 09:41:06 -03:00
José F. Romaniello
e0e171c0a3 Merge branch 'jghaines-example/package.json' 2016-06-21 09:38:48 -03:00
José F. Romaniello
ab32589c2c Merge branch 'example/package.json' of https://github.com/jghaines/socketio-jwt into jghaines-example/package.json 2016-06-21 09:37:51 -03:00
José F. Romaniello
4f0e3fc021 4.4.1 2016-06-21 09:35:36 -03:00
José F. Romaniello
2d3e292268 Merge pull request #86 from bartlomiej-korpus/master
fix TypeError when authenticate is sent with null
2016-06-21 14:35:26 +02:00
José F. Romaniello
b1c674017f Merge pull request #90 from Amialc/master
dependencies update (jade renamed to pug)
2016-06-21 14:34:55 +02:00
José F. Romaniello
e50cf9c7ec 4.4.0 2016-06-15 08:35:49 -03:00
José F. Romaniello
93a4474686 Merge branch 'kripod-patch-2' 2016-06-15 08:35:40 -03:00
Kristóf Poduszló
729d5530be Added ability to use a custom decodedPropertyName 2016-06-15 08:25:40 +02:00
Vlad
4bb2ab97a9 dependencies update (jade renamed to pug) 2016-06-08 22:13:53 +03:00
bartlomiej-korpus
64ed562d05 fix TypeError when authenticate is sent with null 2016-05-26 21:12:47 +02:00
Nathan Totten
23b6242d2a Merge pull request #85 from Amialc/master
semicolons and indentation fix
2016-05-19 14:27:30 -07:00
Vlad
4802b67397 semicolons and indentation fix 2016-04-28 00:44:50 +03:00
Jason Haines
331e6556b6 Merge commit '061348f9d2108644db47f2f1e13853a4f9c93eeb'
* commit '061348f9d2108644db47f2f1e13853a4f9c93eeb':
  Use process.env.PORT when available
2016-04-16 17:38:28 +10:00
Jason Haines
1bd4f93507 Remove pug ; non-trivial upgrade 2016-04-16 17:37:52 +10:00
Jason Haines
c1897aacc0 Merge branch 'example/package.json'
* example/package.json:
  Remove pug
  package.json updates Add scripts.start Upgraded all the dependencies libraries (except jade -> pug; non-trivial) Made npm happy with formatting updates
  Revert "package.json updates"
  package.json updates Add scripts.start Upgraded all the dependencies libraries (except jade -> pug; non-trivial) Made npm happy with formatting updates
2016-04-16 17:36:52 +10:00
Jason Haines
8994267fb2 Remove pug 2016-04-16 17:30:03 +10:00
Jason Haines
e0f3cb5763 package.json updates
Add scripts.start
Upgraded all the dependencies libraries (except jade -> pug; non-trivial)
Made npm happy with formatting updates
2016-04-16 17:26:54 +10:00
Jason Haines
4802307532 Revert "package.json updates"
This reverts commit a818725e30.
2016-04-16 17:25:52 +10:00
Jason Haines
96355b2cda package.json updates
Add scripts.start
Upgraded all the dependencies libraries (except jade -> pug; non-trivial)
Made npm happy with formatting updates
2016-04-16 17:25:23 +10:00
Jason Haines
a818725e30 package.json updates
Add scripts.start
Upgraded all the dependencies libraries (except jade -> pug; non-trivial)
Made npm happy with formatting updates
2016-04-16 17:15:59 +10:00
Jason Haines
3c30d30368 'unauthorized' event handler
The example doesn't give any notification on an Unauthorised error.
It would be nice to log something on the server too, but I don't see how to do this.
2016-04-16 17:00:05 +10:00
Jason Haines
061348f9d2 Use process.env.PORT when available
Use process.env.PORT when available, otherwise default to 3001
2016-04-16 15:54:32 +10:00
Nathan Totten
8ebeaba025 Merge pull request #80 from Annyv2/patch-1
Update lock to version 9
2016-04-04 13:49:49 -07:00
Annyv2
007aad4f09 Update lock 2016-03-30 11:49:32 -04:30
Nathan Totten
4057a43555 Merge pull request #77 from aguerere/example-update-lock-120216
Example update Lock to 8.2
2016-02-24 11:15:38 -08:00