diff --git a/lib/index.js b/lib/index.js index 1971132..6d96683 100644 --- a/lib/index.js +++ b/lib/index.js @@ -62,7 +62,7 @@ function noQsMethod(options) { } // Store encoded JWT - socket[options.encodedPropertyName] = token; + socket[options.encodedPropertyName] = data.token; var onJwtVerificationReady = function(err, decoded) {