stacks-socials

Official

Simplify OAuth2 social logins for Stacks.

Authorstacksjs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Integrates robust OAuth2 social authentication across GitHub, Google, Facebook, and Twitter for Stacks apps, handling provider flows, PKCE when needed, and consistent user mapping.

Core Features & Use Cases

  • AbstractProvider base with per-provider drivers (GitHub, Google, Facebook, Twitter) and PKCE support for Twitter.
  • Generates authorization URLs, exchanges tokens, and fetches/normalizes user profiles to a unified SocialUser shape.
  • Reads credentials and default scopes from config.services, supports scope management, state, and token handling across providers.

Quick Start

Configure an OAuth2 login flow by instantiating a provider, calling getAuthUrl to start the flow, then exchange the code with getAccessToken and finally retrieve the user with getUserByToken.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: stacks-socials
Download link: https://github.com/stacksjs/stacks/archive/main.zip#stacks-socials

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.