2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00
Commit Graph

593 Commits

Author SHA1 Message Date
José F. Romaniello
31b14b78ac 2.1.2 2013-11-18 11:49:25 -03:00
Amir
599a614b4c fixed a security issue 2013-11-18 18:06:52 +03:30
José F. Romaniello
91750bb20a Merge pull request #33 from TeamSynergy/master
Update README.md
2013-11-18 04:26:54 -08:00
Screeny
2d257bfb1e Update README.md 2013-11-15 15:54:47 +01:00
Screeny
b111b3f327 Update README.md 2013-11-15 15:16:16 +01:00
Screeny
f5adaa7956 Merge pull request #1 from TeamSynergy/close_default
Close default
2013-11-15 01:53:00 -08:00
Screeny
df32515631 version push
Original: 1.2.1
master-fork: 2.0.0
default to false: 2.1.0
simplification: 2.1.1
2013-11-15 10:50:26 +01:00
Screeny
3c9f23e31e a little simpler 2013-11-15 10:47:51 +01:00
Screeny
fd4214eac9 close socket.io by default 2013-11-15 10:41:53 +01:00
Screeny
2a3cfdb8ff thanks to @chill117
we can't check undefined for undefined
2013-11-14 21:48:01 +01:00
Screeny
928cd508ff major changes
passport.socketio now lets the user decide whether to accept a
connection or not. to do so, you have tu provide your own 'fail'-method.
this will be called unless the user is successfuly authenticated (still
uses the 'success'-method). The method will be called with four
parameters:
- data: <Object> Handshake Data
- message <String> Error-Message
- critical <Bool> True if the User is and will be unable to use
socket.io because of errors in the authorization-system or somewhere
else. False if the user would still be able to use the system (indicates
that he's just not logged-in)
- accept: <function> plain old accept function.
If there's no fail-method given, passport.socketio allows every
not-critical-failed connection.
Also there is now a 'logged_in' <Bool>-Property inside your User-Key.
2013-11-06 18:19:00 +01:00
José F. Romaniello
b6e7ee635e add note about cors, closes #28 2013-11-03 21:11:52 -02:00
José F. Romaniello
1ac2b5483a 1.2.1 2013-06-30 16:44:51 -03:00
José F. Romaniello
4b999812f1 fix missing { 2013-06-30 16:44:46 -03:00
José F. Romaniello
8ef08d5a07 Merge pull request #24 from richardassar/userKey_zero_val
Allow 0 value for serialized user (id)
2013-06-30 12:37:33 -07:00
Richard Assar
efef45309f Allow 0 value for serialized user (id) 2013-06-30 20:06:21 +01:00
José F. Romaniello
c5d4489d68 1.2.0 2013-06-05 08:38:51 -03:00
José F. Romaniello
04ea36fdd3 remove connect and cookie dependency 2013-06-05 08:38:33 -03:00
José F. Romaniello
9fea831500 1.1.0 2013-06-04 15:21:26 -03:00
José F. Romaniello
3f362cc5f5 Merge pull request #17 from ask11/deps
Updated dependencies
2013-06-04 11:19:19 -07:00
Aleksey Kulikov
6cc8438ef6 Fixed devDependencies 2013-04-23 09:34:36 +06:00
Aleksey Kulikov
2622f11726 Updated deps to support latest connect 2013-04-22 23:50:53 +06:00
Jose F. Romaniello
c0e40b99ad bump version 2013-02-15 07:56:55 -03:00
José F. Romaniello
953510bb6d Merge pull request #9 from faceleg/master
Changed default cookie key.
2013-02-15 02:55:48 -08:00
Michael Robinson
012bdbeb8c Update lib/index.js
Change default cookie key.
2013-02-15 23:49:56 +13:00
Jose F. Romaniello
efa397c597 bump version 2013-02-05 19:15:36 -03:00
Jose F. Romaniello
8a4049b123 add missing file 2013-02-05 19:15:17 -03:00
Jose F. Romaniello
66dd460070 fix #6 use same parameters than express.session 2013-02-05 19:15:04 -03:00
Jose F. Romaniello
a1e46b1fbd fix bug calling both success and accept 2013-01-07 11:30:15 -03:00
Jose F. Romaniello
79878b036c refactorize to use xtend 2013-01-07 10:40:52 -03:00
Jose F. Romaniello
2b2e0b93d5 point socket.io-client to my fork with newer xmlhttprequest 2013-01-07 10:39:14 -03:00
Jose F. Romaniello
73102803f3 added missing dev dependency 2012-12-28 18:11:19 -03:00
Jose F. Romaniello
7390e33d45 minor 2012-11-16 12:47:41 -03:00
Jose F. Romaniello
3dc3096b15 add basic integration tests 2012-11-16 12:43:12 -03:00
Kevin Caffrey
d8c7c0ed7d Don't pass error message on failed accepts due to not being logged in, or the client gets 500s when they should get 403s 2012-11-16 03:58:33 -05:00
José F. Romaniello
3675d24adf Merge pull request #2 from bradleyolson/master
Success and Fail Callbacks
2012-10-27 07:03:21 -07:00
Bradley Olson
4123c38273 updated readme to reflect changes. 2012-10-26 11:19:01 -05:00
Bradley Olson
f62a93c9d2 added option of success or fail callbacks. Needed to still allow users access to sockets even if they weren't logged in, but needed specific data if they were. 2012-10-26 11:13:28 -05:00
Jose F. Romaniello
a5cb696579 update version 2012-10-04 14:55:27 -03:00
José F. Romaniello
eca01e0187 Merge pull request #1 from elisee/patch-1
Use sessionKey over hard-coded "express.sid"
2012-09-10 17:47:56 -07:00
elisee
a9ea73390d Use sessionKey over hard-coded "express.sid"
The sessionKey argument was ignored and "express.sid" was always used
instead.
2012-09-09 20:31:05 +03:00
Jose F. Romaniello
aab88bba8c minor 2012-09-05 15:15:53 -03:00
Jose F. Romaniello
678d4ccd6c initial 2012-09-05 15:14:36 -03:00