Passport
supabase
Our great sponsors
Passport | supabase | |
---|---|---|
63 | 756 | |
22,349 | 64,560 | |
- | 3.3% | |
5.1 | 10.0 | |
about 1 month ago | 1 day ago | |
JavaScript | TypeScript | |
MIT License | Apache License 2.0 |
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.
Passport
-
Non-technical person looking for your help
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
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
passport for authentication
-
Auth.js Authentication for the Web
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.
- I'm having error saying that req.isAuthenticated() not a function
-
NodeJS + Postgres DB + Passport JWT + Passport Local Login and Authentication
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
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
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
You can use passportjs
-
How to sign out user after a period of time
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)
supabase
-
Building a Fast, Efficient Web App: The Technology Stack of PromptSmithy Explained
Here the thing that accelerated my development the most: Supabase. Thanks to its Database, Authentication, and Edge Functions, we were able to rapidly develop the app. Their JS library made development super seamless, and their local development stack made testing a breeze.
-
No More Free Tier on PlanetScale, Here Are Free Alternatives
Supabase - PostgreSQL
-
How to add Passkey Login to Next.js using NextAuth and Hanko
Supabase as our DB
-
Jumblie has a database!
I ended up coming up with a solution using Supabase and Netlify Build Plugins that I'm pretty happy with!
-
No more Mr. Open Source Guy
There are roughly 10 million downloads of my NuGet packages in total, all of whom are open source. This is 20 times more downloads than for instance SupaBase. SupaBase is evaluated at 1 billion dollars and have been given VC funding of more than 100 million dollars.
-
The 2024 Web Hosting Report
Today, this ecosystem is going strong with new providers like Hasura, AppWrite and Supabase powering millions of projects. There are a few reasons people choose this style of hosting, especially if they are more comfortable with frontend development. BaaS lets them set up a database in a secure way, expose some business logic on top of the data, and connect via a dev-friendly SDK from their app or website code to save data easily. These modern tools build a blend of managed database with curated plugins such as authentication, great admin dashboards, and function as a service type capability - all in one package, and often offered as a integrated hosted service.
-
Magic is no longer Open Source
Magic Cloud has roughly 10 million downloads from NuGet, and unfortunately zero of our users have contributed to the project - Neither with code nor with monetary means. To put that number into perspective realise that 10 million downloads is 20 times as much as SupaBase. SupaBase is evaluated at 1 billion dollars.
-
The Mechanics of Silicon Valley Pump and Dump Schemes
The math of the above is really simple. Microsoft has 13,000 stars on their GitHub profile for their flagship product. SupaBase has 63,000 stars on their GitHub project for their flagship product. 27% of all software developers in the world are using .Net. SupaBase has 4.5 times as many likes as the .Net Core runtime, so they must be 4.5 times as large, right? 4.5 multiplied by 27% becomes 130%. Implying 130% of all software developers that exists on earth are using SupaBase (apparently!)
-
How we Built a 20 Billion Dollar Company in 20 minutes
I did some research around SupaBase today for a Medium article I wrote, and I realised that using the same math on AINIRO.IO implies we're worth 20 billion dollars.
-
The Journey of Abandoning Ship2Post. Dreams, Challenges, and Lessons
Supabase
What are some alternatives?
Appwrite - Build like a team of hundreds_
pocketbase - Open Source realtime backend in 1 file
nhost - The Open Source Firebase Alternative with GraphQL.
neon - Neon: Serverless Postgres. We separated storage and compute to offer autoscaling, branching, and bottomless storage.
next-auth - Authentication for the Web.
Hasura - Blazing fast, instant realtime GraphQL APIs on your DB with fine grained access control, also trigger webhooks on database events.
Directus - The Modern Data Stack 🐰 — Directus is an instant REST+GraphQL API and intuitive no-code data collaboration app for any SQL database.
Keycloak - Open Source Identity and Access Management For Modern Applications and Services
faunadb-js - Javascript driver for FaunaDB v4
vitess - Vitess is a database clustering system for horizontal scaling of MySQL.
postgrest - REST API for any Postgres database
Strapi - 🚀 Strapi is the leading open-source headless CMS. It’s 100% JavaScript/TypeScript, fully customizable and developer-first.