authentication Archives - GeekTantra https://www.geektantra.com/tag/authentication/ yet another geek's blog Mon, 18 Nov 2019 08:09:31 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.3 [How To] Implement Passport.js Authentication with Sails.js https://www.geektantra.com/2013/08/implement-passport-js-authentication-with-sails-js/?utm_source=rss&utm_medium=rss&utm_campaign=implement-passport-js-authentication-with-sails-js https://www.geektantra.com/2013/08/implement-passport-js-authentication-with-sails-js/#comments Wed, 21 Aug 2013 13:43:52 +0000 http://www.geektantra.com/?p=366 Here we intend to demonstrate the procedure of local authentication i.e. by using a username and password. Step 1: Dependencies passport passport-local bcrypt List these dependencies inside application_directory/package.json  under dependencies. //application_directory/package.json { ... "dependencies": { ... "passport": "~0.1.16", "passport-local": "~0.1.6", "bcrypt": "~0.7.6" } ... } Step 2: Create user model To create user model run […]

The post [How To] Implement Passport.js Authentication with Sails.js appeared first on GeekTantra.

]]>
https://www.geektantra.com/2013/08/implement-passport-js-authentication-with-sails-js/feed/ 15