whatisgithub

What is js-client-oauth2-extended?

n8n-io/js-client-oauth2-extended — explained in plain English

Analysis updated 2026-07-17 · repo last pushed 2023-01-30

5JavaScriptAudience · developerComplexity · 2/5DormantSetup · easy

In one sentence

A tiny JavaScript library that handles OAuth 2.0 login flows and API request signing, letting users log in via GitHub, Google, or similar providers without you managing tokens by hand.

Mindmap

mindmap
  root((repo))
    What It Does
      Handles OAuth 2.0
      Token exchange
      Signs API requests
    Tech Stack
      JavaScript
    Use Cases
      Login with GitHub
      Sync external data
      Connect user accounts
    Audience
      Web developers
      App builders
    Flows Supported
      Authorization code
      Implicit
      Client credentials

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Add 'Login with GitHub' to a web app and exchange the redirect code for an access token.

USE CASE 2

Sync data with an external service like GitHub Issues by fetching an API token on the user's behalf.

USE CASE 3

Connect a Google Photos account and sign outgoing API requests with the right auth headers automatically.

What is it built with?

JavaScript

How does it compare?

n8n-io/js-client-oauth2-extended00kaku/wp-rest-playgroundchalarangelo/mini-active-record
Stars555
LanguageJavaScriptJavaScriptJavaScript
Last pushed2023-01-30
MaintenanceDormant
Setup difficultyeasyhardeasy
Complexity2/53/51/5
Audiencedeveloperdevelopervibe coder

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 30min

Copy-paste prompts

Prompt 1
Show me how to set up this library to add 'Login with GitHub' to my web app.
Prompt 2
How do I use githubAuth.code.getUri() and getToken() to complete an OAuth authorization code flow?
Prompt 3
Explain how to sign an API request with an access token obtained through this library.
Prompt 4
Which OAuth 2.0 flow (authorization code, implicit, client credentials) should I use with this library for a server-to-server integration?

Frequently asked questions

What is js-client-oauth2-extended?

A tiny JavaScript library that handles OAuth 2.0 login flows and API request signing, letting users log in via GitHub, Google, or similar providers without you managing tokens by hand.

What language is js-client-oauth2-extended written in?

Mainly JavaScript. The stack also includes JavaScript.

Is js-client-oauth2-extended actively maintained?

Dormant — no commits in 2+ years (last push 2023-01-30).

How hard is js-client-oauth2-extended to set up?

Setup difficulty is rated easy, with roughly 30min to a first successful run.

Who is js-client-oauth2-extended for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.