GithubHelp home page GithubHelp logo

Comments (9)

rbutera avatar rbutera commented on April 16, 2024

I think this issue was fixed by installing @types/passport-local.

from passport.

jatin510 avatar jatin510 commented on April 16, 2024

Hi, Facing the same issue. Installing types is not helping.

from passport.

jmcdo29 avatar jmcdo29 commented on April 16, 2024

Please provide a minimum reproduction repository.

from passport.

artoodeeto avatar artoodeeto commented on April 16, 2024

@jatin510 did you fix this issue? I have the same problem

from passport.

jatin510 avatar jatin510 commented on April 16, 2024

@types/passport-local

Installing the types will fix the issue. @artoodeeto

from passport.

jatin510 avatar jatin510 commented on April 16, 2024

@jmcdo29 I was using docker and sharing the volume.

When I was removing the dist folder and again up the container. The types issue of passport got resolved.

Maybe! I have to change my docker-compose configuration.

from passport.

artoodeeto avatar artoodeeto commented on April 16, 2024

@jatin510 what if I just wanted to use passport-facebook? Do i still need to install passport-local type? Im not using nest. Just raw typescript

from passport.

jatin510 avatar jatin510 commented on April 16, 2024

@artoodeeto No you don't need to install passport-local. The passport provides various strategies such as local, facebook, jwt, etc.

But you will need the passport package.

Please refer to this code example : https://github.com/microsoft/TypeScript-Node-Starter/blob/master/src/config/passport.ts

from passport.

artoodeeto avatar artoodeeto commented on April 16, 2024

I just followed that one. Heres an issue that i open awhile ago. Theres a video too. jaredhanson/passport#840

from passport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.