Claude-skill-registry-data managing-auth-pipeline

Handles the authentication flow including Login, Signup, OAuth, and Password Recovery. Use when building auth pages or logic.

install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry-data
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry-data "$T" && mkdir -p ~/.claude/skills && cp -r "$T/data/managing-auth-pipeline" ~/.claude/skills/majiayu000-claude-skill-registry-data-managing-auth-pipeline && rm -rf "$T"
manifest: data/managing-auth-pipeline/SKILL.md
source content

Authentication Pipeline

When to use this skill

  • Developing the
    /auth
    directory.
  • Implementing "Sign in with Google" or "GitHub".
  • Handling session persistence in Next.js.

Workflow

  • Create auth forms (Signup/Login).
  • Implement
    account.create()
    and
    account.createEmailPasswordSession()
    .
  • Set up OAuth redirection using
    account.createOAuth2Session()
    .
  • Handle logout with
    account.deleteSession('current')
    .

Key Logic

  • OAuth: Ensure redirect URLs are correctly whitespaced in Appwrite Console.
  • Persistence: Appwrite handles cookies automatically in the browser; use Middleware for route protection.

Instructions

  • Error Feedback: Use toast notifications for "Invalid credentials" or "Email already exists".
  • Social Auth: Prioritize Google/GitHub for premium UX.