fetch-mw-oauth2 VS oauth2-client

Compare fetch-mw-oauth2 vs oauth2-client and see what are their differences.

fetch-mw-oauth2

Fetch middleware for OAuth2 support [Moved to: https://github.com/badgateway/oauth2-client] (by badgateway)
SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
surveyjs.io
featured
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
fetch-mw-oauth2 oauth2-client
2 3
67 240
- 2.1%
7.7 8.2
almost 2 years ago 3 months ago
TypeScript TypeScript
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.

fetch-mw-oauth2

Posts with mentions or reviews of fetch-mw-oauth2. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-10-28.

oauth2-client

Posts with mentions or reviews of oauth2-client. We have used some of these posts to build our list of alternatives and similar projects.
  • A new OAuth2 client for Javascript
    1 project | /r/javascript | 25 Jun 2022
    Github link to docs: https://github.com/badgateway/oauth2-client
    1 project | dev.to | 20 Jun 2022
    Frustrated with the lack of well maintained, minimal OAuth2 libraries, I wrote my own. This new OAuth2 library is only 3KB gzipped, mainly because it has 0 dependencies and relies on modern APIs like fetch() and Web Crypto which are built in Node 18 (but it works with Polyfills on Node 14 and 16).
  • OAuth2 Client for Node and Browsers
    1 project | news.ycombinator.com | 21 Jun 2022

What are some alternatives?

When comparing fetch-mw-oauth2 and oauth2-client you can also consider the following projects:

deno-oauth2-client - Minimalistic OAuth 2.0 client for Deno.

crypto-sessions - Encrypted, pubkey based sessions and API requests. No cookies, storage, or state management required. Just some modern key cryptography!

node-fetch-retry-timeout - Minimal drop-in replacement for node-fetch with retries and timeout.

grant-server - This module is a packaged Grant OAuth proxy server. That means that you can just install this package and run grant-serve to have a proxy OAuth server running. Docker image is also available.

oauth2 - OAuth2 middleware that validates Bearer tokens against a OAuth2 Introspection Endpoint.