You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all, thanks @drudge for your work, but there is a problem with this builder library, I was trying to use it with https://github.com/nestjs/passport but passed parameters up above to the OAuth2Strategy was only the values from super:
exportclassFacebookTokenStrategyextendsPassportStrategy(Strategy){constructor(privatereadonlyauthService: AuthService){super({clientID: config.facebook.app_id,// thisclientSecret: config.facebook.app_secret// and that});}asyncvalidate(accessToken: string,refreshToken: string,profile){returnprofile;}}
Without options from your constructor, so basically what I have done is just copy your code to my project and allowJs set to true in tsconfig.json and it starts working.
So basically, if you would like to spend additional effort on this library to improve build process or even make it better and rewrite it to typescript I will be glad.
Once again, thanks a lot for sharing your code.
Regards.
The text was updated successfully, but these errors were encountered:
Hi,
First of all, thanks @drudge for your work, but there is a problem with this builder library, I was trying to use it with https://github.com/nestjs/passport but passed parameters up above to the
OAuth2Strategy
was only the values from super:Without options from your constructor, so basically what I have done is just copy your code to my project and allowJs set to true in tsconfig.json and it starts working.
So basically, if you would like to spend additional effort on this library to improve build process or even make it better and rewrite it to typescript I will be glad.
Once again, thanks a lot for sharing your code.
Regards.
The text was updated successfully, but these errors were encountered: