Closed innerdaze closed 9 years ago
In the following snippet, the default value for the tokenPath config option is being used to configure JWT.
My guess is that this should be be using a reference to the passed config.
// [lib/oauth2-loopback.js:83] passport.use('oauth2-jwt-bearer', new ClientJWTBearerStrategy( {audience: '/oauth/token', passReqToCallback: true},
Lee
Fixed - see https://github.com/strongloop/loopback-component-oauth2/blob/master/lib/oauth2-loopback.js#L86
In the following snippet, the default value for the tokenPath config option is being used to configure JWT.
My guess is that this should be be using a reference to the passed config.
Lee