question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

how to use passport-local

See original GitHub issue

I’m submitting a…


[ ] Regression 
[ ] Bug report
[ ] Feature request
[x] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

i want to auth with passport-local, what’s the best practice?

Expected behavior

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Nest version: 5.0.0

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

11reactions
Ttoucommented, May 17, 2018

want a document

2reactions
bojidaryovchevcommented, May 15, 2018

you can check my repository, it uses passport-local

https://github.com/bojidaryovchev/nest-angular

go to src/server/modules/auth and check it out, we got passport-local, passport-jwt, passport-facebook-token, passport-twitter-token and passport-google-token strategies setup

I am currently updating to Angular v6.0.1, RxJS v6.0.0, Webpack v4.8.3 and NestJS v5.0.0 so today I will push the changes at some point

Read more comments on GitHub >

github_iconTop Results From Across the Web

passport-local
This module lets you authenticate using a username and password in your Node.js applications. By plugging into Passport, local authentication can be easily ......
Read more >
jaredhanson/passport-local: Username and password ...
This module lets you authenticate using a username and password in your Node.js applications. By plugging into Passport, password-based sign in can be...
Read more >
Everything you need to know about the `passport-local ...
Session based authentication is at the root of the passport-local strategy. This method of authentication is “server-side”, which means our ...
Read more >
Local Authentication Using Passport in Node.js - SitePoint
In this tutorial, I'll demonstrate how to use Passport to implement local authentication (that is, logging in with a username and password) ...
Read more >
Tutorial: User Authentication with Passport.js | by Amanda Atkins
Passport is a robust NodeJS package that easily allows a developer to incorporate user accounts and login/logout functionality into ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found