JavaScript Oauth2

Open-source JavaScript projects categorized as Oauth2

Top 23 JavaScript Oauth2 Projects

  • hackathon-starter

    A boilerplate for Node.js web applications

    Project mention: 100+ Must Know Github Repositories For Any Programmer | | 2022-11-17

    3. Node.js Hackathon Starter

  • Passport

    Simple, unobtrusive authentication for Node.js.

    Project mention: Exploring the Most Commonly Used Folder Names in Popular NPM Packages | | 2023-02-23

    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.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support . Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • Grant

    OAuth Proxy

    Project mention: Call to help beta test wireless highlight backups with | | 2022-07-22

    Thanks for taking a look! I use the for OAuth (to spare people having to remember yet another password) and I believe it uses cookies to prevent OAuth replay attacks. Thanks for highlighting this. I'll work on a better error message if cookies are not enabled.

  • express-gateway

    A microservices API Gateway built on top of Express.js

    Project mention: How to choose the right API Gateway | | 2022-11-22

    Next, review deployment complexity such as DB-less versus database-backed deployments. For example, Kong does require running Cassandra or Postgres. Apigee requires Cassandra, Zookeeper, and Postgres to run, while other solutions like Express Gateway and Tyk only require Redis. Apache APISIX uses etcd as its data store, it stores and manages routing-related and plugin-related configurations in etcd in the Data Plane.

  • node-oidc-provider

    OpenID Certified™ OAuth 2.0 Authorization Server implementation for Node.js

    Project mention: Should I use passport.js to implement an OpenID Connect server in node.js? | | 2023-02-09

    I am a little confused on how to implement an Auth server in node.js. There are plenty of libs that seem to do just that (ex: and then there's passport, which seems to be a full-fledged authentication framework? Will it serve my purpose or would it be overkill and I should just stick with simple libs like the one I mentionned. I can't seem to understand the difference between the two. Can someone explain?

  • vue-authenticate

    Simple Vue.js authentication library

    Project mention: How making Linkedin authentication on Vue ? | | 2022-06-17

    I wanted absolutly implement vue-authenticate on my vue app client-side, i very newbie on this library and i follow step by step the documentation but when i try to run app, i got a blank page with this error :

  • passport-facebook

    Facebook authentication strategy for Passport and Node.js.

    Project mention: Passport-Facebook authentication is not providing email for all Facebook accounts | | 2022-05-09

    I am using Passport-Facebook authentication.

  • Sonar

    Write Clean JavaScript Code. Always.. Sonar helps you commit clean code every time. With over 300 unique rules to find JavaScript bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • auth0.js

    Auth0 headless browser sdk

  • jso

    Easy to use OAuth 2.0 javascript library for use in your javascript application.

  • passport-google-oauth2

    Google authentication strategy for Passport and Node.js.

    Project mention: First web-dev project! What do you think? | | 2022-05-15

    Curios what the backend is comprised of. If you're not already using it take a look at PassportJS and in particular Google OAuth (and maybe other identity providers like Facebook, Apple, Github etc. It's surprisingly easy to learn and it makes maintaining secure logins extremely easy so if someone has MFA on their Google account for example they can use that without having to create a new identity.

  • passport-oauth2

    OAuth 2.0 authentication strategy for Passport and Node.js.

    Project mention: Endpoint that redirects AND saves variables to local storage? | | 2022-04-24

    This has to be handled in JavaScript. What you're describing sounds similar to a typical OAuth flow, so you might want to do some research on that to make sure you're not reinventing a wheel when you could just be using an open standard and an off-the-shelf library like Passport.

  • external-auth-server

    easy auth for reverse proxies

  • ms-identity-javascript-react-tutorial

    A chapterwise tutorial that will take you through the fundamentals of modern authentication with Microsoft identity platform in React using MSAL React

    Project mention: A noob question on security/authentication (Azure AD related) | | 2022-08-08

    You can use this library

  • nginx-openid-connect

    Reference implementation of OpenID Connect integration for NGINX Plus

    Project mention: Microsites/apps (?) with NextJS | | 2023-01-05
  • ms-identity-javascript-tutorial

    A chapterwise tutorial that will take you through the fundamentals of modern authentication with Microsoft identity platform in Vanilla JavaScript.

    Project mention: Azure ad access token guard authentication | | 2022-07-01

    was following this guide:

  • ms-identity-b2c-javascript-spa

    Vanilla JavaScript single-page application calling a web API protected by Azure AD B2C

    Project mention: Which authentication solution? | | 2022-06-11

    I recommend starting with a simple sample,, and get it working with logging in. The settings are spread out a bit in the sample. In apiConfig.js the b2cScopes need to be the full url form of the scopes you want to use, eg: https://[resourcedomain][something]/access. You can find the exact name from the SPA config page API Permissions and clicking on the scope name. The "webApi" setting is the URL for your backend API.

  • node-oauth2-server

    Complete, compliant and well tested module for implementing an OAuth2 Server/Provider with express in node.js -- the unofficial successor to oauth2-server ( (by node-oauth)

    Project mention: How to secure my REST API? | | 2023-03-18

    In general I would agree, but only if u will go with some 3rd party vendor, like Google or Auth0 from okta, implementing oauth resource server is a real challenge even if u would use community packages...

  • Devto-clone clone

    Project mention: 💁‍♂️ Built a replica with The MERN stack and more | | 2022-09-17
  • ecommerce-store-reactjs-stripe-oauth2

    This is a fully functional Ecommerce Website which allows the user to login,add products to cart,view products in detail and do the payment through credit card.Built using React,React Router,OAuth2 for user authentication,Stripe for payment and Netlify for deployment.

  • supabase-tailwind-rn

    A simple React Native Apple OAuth starter built with Supabase and TailwindCSS

  • the-usher-server

    Authorization server. The Usher looks at your ticket and tells you where you're authorized to go.

    Project mention: Open Source Authentication and Authorization | | 2022-11-03

    In my experience, businesses are especially concerned with authorization — enabling product sales to customers.

    They would rather not deal with identity and authentication — usernames and passwords — at all. These are already quite nicely handled to various degrees by Cogntio, Auth0, Azure Active Directory, and others.

    To address minimalist authorization needs, the portfolio of companies I worked with collaborated to create The Usher[1]. The Usher is an open source authorization server in NodeJS. Worth a peek if you, too, want to focus on authorization separate from authentication.

    Disclosure: I am a contributor to The Usher.


  • Strava-Very-Very-Far

    A mobile-first React web app that compares your activity distances on Strava with different lengths (circumference of the Earth, distance to the Moon, etc)

  • cidaas SDK for JS

    cidaas JavaScript SDK

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-03-18.

JavaScript Oauth2 related posts


What are some of the best open-source Oauth2 projects in JavaScript? This list will help you:

Project Stars
1 hackathon-starter 34,063
2 Passport 21,258
3 Grant 3,822
4 express-gateway 2,797
5 node-oidc-provider 2,593
6 vue-authenticate 1,418
7 passport-facebook 1,273
8 auth0.js 920
9 jso 869
10 passport-google-oauth2 746
11 passport-oauth2 558
12 external-auth-server 313
13 ms-identity-javascript-react-tutorial 196
14 nginx-openid-connect 161
15 ms-identity-javascript-tutorial 98
16 ms-identity-b2c-javascript-spa 95
17 node-oauth2-server 82
18 Devto-clone 70
19 ecommerce-store-reactjs-stripe-oauth2 44
20 supabase-tailwind-rn 14
21 the-usher-server 8
22 Strava-Very-Very-Far 7
23 cidaas SDK for JS 6
Access the most powerful time series database as a service
Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.