removed password library external link in quality assurance (#46096)
* removed password external link in quality assurance * Grammar typos Co-authored-by: Jaka Kranjc <smgl@lynxlynx.info> Co-authored-by: Jaka Kranjc <smgl@lynxlynx.info>pull/46093/head
parent
656732b633
commit
e96e980dd0
|
@ -8,7 +8,7 @@ dashedName: authentication-strategies
|
||||||
|
|
||||||
# --description--
|
# --description--
|
||||||
|
|
||||||
A strategy is a way of authenticating a user. You can use a strategy for allowing users to authenticate based on locally saved information (if you have them register first) or from a variety of providers such as Google or GitHub. For this project, we will set up a local strategy. To see a list of the hundreds of strategies, visit Passport's site [here](http://passportjs.org/).
|
A strategy is a way of authenticating a user. You can use a strategy for allowing users to authenticate based on locally saved information (if you have them register first) or from a variety of providers such as Google or GitHub. For this project, we will use Passport middleware. Passport provides a comprehensive set of strategies that support authentication using a username and password, GitHub, Google, and more.
|
||||||
|
|
||||||
Add `passport-local@~1.0.0` as a dependency and add it to your server as follows: `const LocalStrategy = require('passport-local');`
|
Add `passport-local@~1.0.0` as a dependency and add it to your server as follows: `const LocalStrategy = require('passport-local');`
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue