providers

A reference command for Better Auth sign-in providers. OAuth providers let users sign in through accounts they already have, such as Google, GitHub, or Microsoft.

In plain words
What is it for?
Use it to look up one provider’s configuration or browse available providers and their setup requirements, including Cloudflare D1 examples.
Why use it?
It gathers provider setup details, required environment variables, callback URL formats, and common fixes in one place.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/secondsky/claude-skills/providers
Clone the repo
git clone --depth 1 https://github.com/secondsky/claude-skills
Per session 9 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,392 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00009 $0.01392
Opus 5 $0.00005 $0.00696
Sonnet 5 $0.00002 $0.00278
Haiku 4.5 $0.00001 $0.00139

Measured yesterday against content hash e965dc1653e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

providers scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/better-auth/commands/providers.md · 235 lines

How it starts

The opening of the file, as written. The whole thing — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Authentication Providers Reference

Provide quick reference for Better Auth authentication providers.

Usage

  1. Specific provider (e.g., /better-auth:providers google):

    • Show detailed configuration for that provider
    • Display code example with Cloudflare D1 integration
    • List required environment variables
    • OAuth callback URL format
    • Common issues and solutions
  2. No argument (e.g., /better-auth:providers):

    • Show overview of all available providers by category
    • Display setup instructions
    • Link to full documentation

Provider Categories

OAuth Providers (45+)

Popular:

  • Google (openid, email, profile scopes)
  • GitHub (user, email scopes)
  • Microsoft (openid, email, profile)
  • Apple (name, email)
  • Discord (identify, email, guilds)

Social Media:

  • Twitter/X (tweet.read, users.read)
  • Facebook (email, public_profile)
  • LinkedIn (openid, profile, email)
  • TikTok (user.info.basic)
  • Instagram (user_profile, user_media)
  • Reddit (identity, read)

Developer Platforms:

  • GitLab (read_user, email)
  • Bitbucket (account, email)
  • Vercel (user, email) - v1.4.3+
  • Atlassian (read:me, read:account)

Gaming & Streaming:

  • Twitch (user:read:email)
  • Kick (user:read) - v1.4.6+
  • Steam (identity, email)
  • Patreon (identity, campaigns) - v1.4.8+

Communication:

  • Slack (users:read, users:read.email)
  • Spotify (user-read-email, user-read-private)
  • Dropbox (account_info.read)
  • Box (manage_app_users)

Enterprise:

  • Okta (openid, profile, email)
  • Azure AD / Entra ID
  • Keycloak (openid)
  • Auth0 (openid, profile, email)

Other Providers:

  • Strava, Lichess, Workos, Roblox, Coinbase, Line, Vk, Yandex, and 15+ more

Email/Password Authentication

emailAndPassword: {
  enabled: true,
  requireEmailVerification: true,
  sendResetPassword: async ({ user, url, ctx }) => {
    // Send password reset email
  }
}

Magic Link Authentication

import { magicLink } from "better-auth/plugins/magic-link"

plugins: [
  magicLink({
    sendMagicLink: async ({ email, url, ctx }) => {
      // Send magic link email
    }
  })
]

Read the full file on GitHub · 235 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 235 lines · 9 tokens per session scan A e965dc1653e4

Subscribe to this mod's changes

providers is a command published in the GitHub repository secondsky/claude-skills (212 stars, last pushed 2d ago), licensed MIT. It adds 9 tokens to every session and 1,392 once invoked, about $0.0000 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.