@feathersjs/authentication-jwt
Advanced tools
Comparing version 2.0.6 to 2.0.7
@@ -6,2 +6,14 @@ # Change Log | ||
<a name="2.0.7"></a> | ||
## [2.0.7](https://github.com/feathersjs/feathers/compare/@feathersjs/authentication-jwt@2.0.6...@feathersjs/authentication-jwt@2.0.7) (2018-10-26) | ||
### Bug Fixes | ||
* support a secretProvider ([#1063](https://github.com/feathersjs/feathers/issues/1063)) ([9da26ad](https://github.com/feathersjs/feathers/commit/9da26ad)) | ||
<a name="2.0.6"></a> | ||
@@ -8,0 +20,0 @@ ## [2.0.6](https://github.com/feathersjs/feathers/compare/@feathersjs/authentication-jwt@2.0.5...@feathersjs/authentication-jwt@2.0.6) (2018-10-25) |
@@ -62,3 +62,4 @@ const Debug = require('debug'); | ||
let strategyOptions = merge({ | ||
secretOrKey: jwtSettings.secret, | ||
secretOrKey: typeof jwtSettings.secret !== 'function' ? jwtSettings.secret : null, | ||
secretOrKeyProvider: typeof jwtSettings.secret === 'function' ? jwtSettings.secret : null, | ||
jwtFromRequest: ExtractJwt.fromExtractors(extractors) | ||
@@ -65,0 +66,0 @@ }, jwtSettings.jwt, omit(jwtSettings, ['jwt', 'header', 'secret'])); |
{ | ||
"name": "@feathersjs/authentication-jwt", | ||
"description": "JWT authentication strategy for feathers-authentication using Passport", | ||
"version": "2.0.6", | ||
"version": "2.0.7", | ||
"homepage": "https://feathersjs.com", | ||
@@ -46,3 +46,3 @@ "main": "lib/", | ||
"devDependencies": { | ||
"@feathersjs/authentication": "^2.1.12", | ||
"@feathersjs/authentication": "^2.1.13", | ||
"@feathersjs/express": "^1.2.7", | ||
@@ -59,3 +59,3 @@ "@feathersjs/feathers": "^3.2.3", | ||
}, | ||
"gitHead": "55de15e1f0986203646a68bbaf6d72c0753e0cdc" | ||
"gitHead": "1c74a1473c5aeef9703d4167ba8498f85d5b65f9" | ||
} |
20615
117