strongloop/loopback-component-oauth2

Hard-coded tokenPath config

Closed this issue · 1 comments

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