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! Learn more →
Top 23 JavaScript Oauth2 Projects
-
3. Node.js Hackathon Starter
-
Project mention: Exploring the Most Commonly Used Folder Names in Popular NPM Packages | dev.to | 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!
-
Project mention: Call to help beta test wireless highlight backups with https://kobli.me/ | reddit.com/r/kobo | 2022-07-22
Thanks for taking a look! I use the https://www.npmjs.com/package/grant 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.
-
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.
-
Project mention: Should I use passport.js to implement an OpenID Connect server in node.js? | reddit.com/r/AskProgramming | 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: https://github.com/panva/node-oidc-provider) 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?
-
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 :
-
Project mention: Passport-Facebook authentication is not providing email for all Facebook accounts | reddit.com/r/codehunter | 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.
-
-
-
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.
-
Project mention: Endpoint that redirects AND saves variables to local storage? | reddit.com/r/webdev | 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.
-
-
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) | reddit.com/r/webdev | 2022-08-08You can use this library https://github.com/AzureAD/microsoft-authentication-library-for-js
-
-
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 | reddit.com/r/Nestjs_framework | 2022-07-01was following this guide: https://github.com/Azure-Samples/ms-identity-javascript-tutorial/tree/main/3-Authorization-II/2-call-api-b2c
-
ms-identity-b2c-javascript-spa
Vanilla JavaScript single-page application calling a web API protected by Azure AD B2C
I recommend starting with a simple sample, https://github.com/Azure-Samples/ms-identity-b2c-javascript-spa, 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].onmicrosoft.com/[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 (https://github.com/oauthjs/node-oauth2-server) (by node-oauth)
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 https://github.com/node-oauth/node-oauth2-server packages...
-
-
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.
-
-
the-usher-server
Authorization server. The Usher looks at your ticket and tells you where you're authorized to go.
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)
-
-
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.
JavaScript Oauth2 related posts
- How to secure my REST API?
- Microsites/apps (?) with NextJS
- Where and how do you store your access_token and refresh_token in Oauth2.0 authorization flow?
- Proper way to proxy all calls to an external API through the Next.js server? (Make SSR components work with client auth cookies)
- My chart to pick the right auth
- Does anybody want to work on a programming project together?
- Architecting Node the Node way?
-
A note from our sponsor - Appwrite
appwrite.io | 20 Mar 2023
Index
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 |