Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there any chance of using it with loopback-component-passport #11

Open
grzegorzgolec opened this issue Oct 6, 2016 · 3 comments
Open

Comments

@grzegorzgolec
Copy link

grzegorzgolec commented Oct 6, 2016

Probably something crashes in strategy.js, here

if (self._passReqToCallback) {
      self._verify(req, parsedToken, parsedToken.payload.sub, verified);
    } 

And I have got unexpected error

TypeError: done is not a function
    at C:\Users\Grzegorz\Documents\WebStudio\macaron-api\node_modules\loopback-component-passport\lib\passport-configurator.js:214:7
    at C:\Users\Grzegorz\Documents\WebStudio\macaron-api\node_modules\loopback-component-passport\lib\models\user-identity.js:162:15
@grzegorzgolec grzegorzgolec changed the title Is there any chance of using it with loopback-component-password Is there any chance of using it with loopback-component-passport Oct 6, 2016
@jmreyes
Copy link
Owner

jmreyes commented Dec 18, 2016

Hi Grzegorz, I'm sorry for such a late reply, I totally missed this. I don't know much about loopback and sadly I have very little time to look into it, but feel free to give me more information or submit a pull request if you find out what the issue is.

@delyan-georgiev
Copy link

Did someone found a solution for this?

@delyan-georgiev
Copy link

@grzegorzgolec did you solve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants