37bb5bbc09
Update index.js
...
Updated console log to show the JWT
2015-11-23 20:17:16 -04:30
eae6966dfd
Update README.md
2015-11-23 20:00:28 -04:30
4dd06a28ce
Update README.md
2015-11-23 19:58:04 -04:30
cf81a579a5
Create README.md
2015-11-23 19:57:18 -04:30
e094d231b2
Add ability to generate secret dynamically
...
This allow you to pass a function instead of an string in order to
generate secret based on the new connection features.
2015-11-18 18:49:55 -03:00
d06501e315
4.3.3
2015-11-09 08:12:44 -03:00
86a92e9b42
Merge branch 'gfetco-patch-1'
2015-11-09 08:12:22 -03:00
0bc14474c6
Merge branch 'patch-1' of https://github.com/gfetco/socketio-jwt into gfetco-patch-1
2015-11-09 08:12:08 -03:00
72d599a701
Merge pull request #60 from aguerere/newSeedProject-FromSocketioOwnTutorial
...
Introduced a new example project
2015-11-03 07:50:24 -08:00
170c23306f
Validation
...
on socket authenticate, should check that the data.token exists and if it is the desired type?
socket.emit( 'authenticate', {token: {} }); // will crash server if sent from client-side.
2015-11-01 20:44:25 +01:00
31b4c450e0
Introduced a new example
...
This introduces a new example project that build on top of socket.io’s
own tutorial. Fixes https://github.com/auth0/socketio-jwt/issues/59
2015-10-15 17:12:11 -04:30
5532ff03fd
4.3.2
2015-10-13 13:57:38 -03:00
d90bd53397
Merge pull request #58 from pieterjandesmedt/master
...
fix(lib/index.js) return auth.success
2015-10-13 13:57:05 -03:00
dac693930b
fix(lib/index.js) return auth.success
...
Next step would not execute because no function(socket, next) was returned in case of successful verification in the 'one roundtrip' (handshake) approach.
Returning auth.success instead of just executing it solves this.
Fixes #51
2015-10-08 14:06:33 +02:00
b7c88dde73
fix tests on v0.10.40
2015-08-31 11:20:35 -03:00
f72d58ab89
4.3.1
2015-08-31 11:10:06 -03:00
51bfe18d72
Merge branch 'wonderdogone-master'
2015-08-31 11:09:51 -03:00
d6cd5c2254
minor
2015-08-31 11:09:22 -03:00
8d6dd198f0
fix fixtures
2015-08-31 11:08:31 -03:00
4fdb4e62f0
Merge branch 'master' of https://github.com/wonderdogone/socketio-jwt into wonderdogone-master
2015-08-31 11:05:43 -03:00
6dc9b69cc6
4.3.0
2015-08-31 11:04:32 -03:00
09eea1d043
add tests for namespace configuration
2015-08-31 11:04:13 -03:00
5412e632b2
Merge branch 'marcelchastain-master'
2015-08-31 08:12:18 -03:00
43f7427407
add support for namespace authentication
...
fixes #32
2015-07-18 19:23:02 -07:00
1368f31db9
4.2.1
2015-07-06 11:11:30 -03:00
ee1b0400f1
Merge branch 'ccff33-additional-auth-var-name-fix'
2015-07-06 11:11:24 -03:00
1ac2a8da44
fixed var name
2015-07-05 19:57:24 +03:00
c6feb807d8
minor. closes #43
2015-05-29 09:49:31 -03:00
276e7aa514
add travis config
2015-05-29 09:42:19 -03:00
89fdd41311
4.2.0
2015-05-29 09:39:55 -03:00
54dfbdf987
improve tests
2015-05-29 09:39:49 -03:00
de40574362
Merge branch 'dbrugne-master'
2015-05-29 09:39:29 -03:00
84cc16cf49
Merge branch 'master' of https://github.com/dbrugne/socketio-jwt into dbrugne-master
...
Conflicts:
lib/index.js
2015-05-29 09:00:34 -03:00
56c790a317
4.1.0
2015-05-29 08:54:15 -03:00
9b234c44a8
set required defaults to true
2015-05-29 08:52:14 -03:00
9325691f29
Merge branch 'ddamerell53-master'
2015-05-29 08:51:53 -03:00
f7ecb4ea6f
Merge branch 'master' of https://github.com/ddamerell53/socketio-jwt into ddamerell53-master
2015-05-29 08:46:17 -03:00
e983762132
4.0.1
2015-05-17 22:06:15 -03:00
5688e1a594
update changelo
2015-05-17 22:06:10 -03:00
4cf0651e88
minor
2015-05-17 22:05:00 -03:00
b0dcd03699
Merge pull request #44 from nkt/patch-1
...
Use native comparison instead of regexp
2015-05-17 22:02:41 -03:00
34c64c73e1
Use native comparison instead of regexp
2015-05-18 03:24:42 +03:00
f5a84eb9bb
Add an "additionnal" option (Function(decoded, onSuccess, onError)). When the token is parser and validated the callback is triggered and allow addition of extra logic (e.g. validate the user status against database).
...
Improve returned errors.
2015-05-07 11:49:00 +02:00
346b4d7aa1
Make .disconnect() call asynchronous to allow client to receive error message.
2015-05-06 19:11:16 +02:00
b053356c5e
Send 'error' event with error details in case of not received or invalid token.
2015-05-06 17:56:12 +02:00
92663f95b7
.gitignore
2015-05-06 17:52:49 +02:00
78dcd15732
4.0.0
2015-04-22 11:32:17 -03:00
3c385b4301
Adding CHANGELOG.md
2015-04-22 11:32:06 -03:00
7e534706de
Updated to jsonwebtoken@5.0.0
2015-04-22 11:30:01 -03:00
b971c75fa1
3.0.0
2015-03-16 20:48:35 -03:00