Lockit VS Passport

Compare Lockit vs Passport and see what are their differences.

Lockit

Authentication solution for Express (by zemirco)

Passport

Simple, unobtrusive authentication for Node.js. (by jaredhanson)
Our great sponsors
  • Appwrite - The open-source backend cloud platform
  • SurveyJS - A Non-Cloud Alternative to Google Forms that has it all.
  • Amplication - open-source Node.js backend code generator
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • Mergify - Tired of breaking your main and manually rebasing outdated pull requests?
  • Sonar - Write Clean JavaScript Code. Always.
Lockit Passport
0 63
444 21,798
- -
0.0 6.8
almost 8 years ago 3 days ago
JavaScript JavaScript
MIT License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Lockit

Posts with mentions or reviews of Lockit. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Lockit yet.
Tracking mentions began in Dec 2020.

Passport

Posts with mentions or reviews of Passport. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-06-24.
  • Non-technical person looking for your help
    2 projects | /r/webdev | 24 Jun 2023
    Next, use something like https://www.npmjs.com/package/passport, this is authentication middleware, and it works similarly for different authentication providers. Carefully read the documentation. OAuth is complicated, but that's because it solves a complicated problem
  • Exploring the Most Commonly Used Folder Names in Popular NPM Packages
    12 projects | dev.to | 23 Feb 2023
    lib: The lib folder, short for "library", is mostly used to store the actual source code of the package, but it can also be used to store third-party code, utilities and helpers. Example from passport.
  • Instagram Graph API Explained: How to log in users
    4 projects | dev.to | 3 Jan 2023
    passport for authentication
  • Auth.js Authentication for the Web
    10 projects | news.ycombinator.com | 30 Dec 2022
    I went down the rabbithole of using next-auth (now authjs) for a recent project. Having used Passport.js [1] for Oauth2 the last time I was doing node.js ~3 years ago, I found this library to have many footguns as comments/answers on SO and Github.

    Seems like many people are trying to shoehorn their codebase [2] (!!) to make it work with the way the library manages sign-in flow, redirects, cookies, logout, etc. [3]

    These were solved problems in the MEAN stack era with middlewares, but now that Next.js/react is the trend, people are doing everything they can to make it work - from relaxing security configs, to stashing things in the JWT just so some callback can get an additional piece of data.

    [1] https://github.com/jaredhanson/passport

  • I'm having error saying that req.isAuthenticated() not a function
    2 projects | /r/node | 29 Dec 2022
  • NodeJS + Postgres DB + Passport JWT + Passport Local Login and Authentication
    4 projects | dev.to | 19 Jul 2022
    Here I am writing my first blog 😇 about how do we connect a simple [NodeJS Application] 😎(https://www.npmjs.com/package/express) to Postgres and use PassportJS for authentication and authorization.
  • Spotify OAuth2 Authentication in a NestJS Application
    3 projects | dev.to | 20 Mar 2022
    As there is no official documentation for integrating this type of authentication with NestJS and development articles usually focus on Google and Facebook integration, this article presents an alternative to integrate the Spotify Authorization Code Flow with NestJS using the Passport authentication middleware along with the passport-spotify strategy.
  • Keycloak Express openid-client
    2 projects | dev.to | 25 Feb 2022
    We are going to use this openid-client and passport to connect to keycloak. I install the following
  • Secure API-Auth based on Express - References
    2 projects | /r/node | 9 Jan 2022
    You can use passportjs
  • How to sign out user after a period of time
    5 projects | /r/SaaS | 3 Jan 2022
    I use PassportJS to manage authentication strategies and express-session with connect-redis to manage user sessions. What this means is that when a user logs in, their session is created on redis and has an identifier assigned to it which is stored in a an http only cookie on the user s browser with 2w expiry time. If they login again, I extend the expiration date (possible using express-session)

What are some alternatives?

When comparing Lockit and Passport you can also consider the following projects:

Keycloak - Open Source Identity and Access Management For Modern Applications and Services

everyauth - node.js auth package (password, facebook, & more) for Connect and Express apps

Grant - OAuth Proxy

Prisma - Next-generation ORM for Node.js & TypeScript | PostgreSQL, MySQL, MariaDB, SQL Server, SQLite, MongoDB and CockroachDB

supabase - The open source Firebase alternative. Follow to stay updated about our public Beta.

passwordless - node.js/express module to authenticate users without password

ws - Simple to use, blazing fast and thoroughly tested WebSocket client and server for Node.js

fastify - Fast and low overhead web framework, for Node.js

CloudRail - Unified API Library for: Cloud Storage, Social Log-In, Social Interaction, Payment, Email, SMS, POIs, Video & Messaging. Included services are Dropbox, Google Drive, OneDrive, OneDrive for Business, Box, Egnyte, PayPal, Stripe, Google Places, Foursquare, Yelp, YouTube, Vimeo, Twitch, Facebook Messenger, Telegram, Line, Viber, Facebook, GitHub, Google+, LinkedIn, Slack, Twitter, Windows Live, Yahoo, Mailjet, Sendgrid, Twilio, Nexmo, Twizo.

Socket.io - Realtime application framework (Node.JS server)

WhatsApp-Clone-Client-React - https://www.tortilla.academy/Urigo/WhatsApp-Clone-Tutorial