social-login

social-login is a skill for Claude Code from launch52-ai/flutter-template. It costs 45 tokens per session (1,027 once invoked), scanned A, original, MIT.

Implementation guidance for Google and Apple sign-in using Supabase or a custom backend. OAuth is the standard way an app lets another service handle user sign-in.

In plain words
What is it for?
Use it to configure Google Cloud, Apple Developer, Supabase, iOS, and Android, and to add or troubleshoot the sign-in flow.
Why use it?
It brings together provider setup, platform configuration, security details, and error handling that are easy to miss when adding social login.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

Good fit Use it to configure Google Cloud, Apple Developer, Supabase, iOS, and Android, and to add or troubleshoot the sign-in flow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/launch52-ai/flutter-template/social-login
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.

Any agent
npx skills add launch52-ai/flutter-template --skill social-login
Clone the repo
git clone --depth 1 https://github.com/launch52-ai/flutter-template

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for social-login

README.md
[![agentmods](https://agentmods.dev/badge/skills/launch52-ai/flutter-template/social-login/github.svg)](https://agentmods.dev/skills/launch52-ai/flutter-template/social-login)
Your own site
<a href="https://agentmods.dev/skills/launch52-ai/flutter-template/social-login"><img src="https://agentmods.dev/badge/skills/launch52-ai/flutter-template/social-login/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for social-login

Your own site · 80×15
<a href="https://agentmods.dev/skills/launch52-ai/flutter-template/social-login"><img src="https://agentmods.dev/badge/skills/launch52-ai/flutter-template/social-login.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,027 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00045 $0.01027
Opus 5.5 $0.00018 $0.00411
Sonnet 5.5 $0.00009 $0.00205
Haiku 4.5 $0.00005 $0.00103

Measured 3mo ago against content hash cd86ca11ec65, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

social-login 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 3mo ago.

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.

.claude/skills/social-login/SKILL.md · 131 lines

How it starts

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

Social Login - Google & Apple Sign-In

Google and Apple authentication with Supabase or custom backend.

When to Use This Skill

  • Adding social login to a project
  • Configuring OAuth providers (Google Cloud, Apple Developer)
  • Troubleshooting social auth issues
  • Adding SHA-1 fingerprints for Android

Reference Files

reference/
├── repositories/     # Domain interface, impl, mocks
├── failures/         # Sealed Failure types
├── providers/        # AuthNotifier social methods
├── utils/            # Nonce helpers, constants
├── widgets/          # Social login button
└── screens/          # OAuth callback (Android)

templates/            # Info.plist, AndroidManifest additions

See: implementation-guide.md for complete file list.

Workflow

Phase 1: Provider Setup

  1. Google Cloud Console - OAuth clients, SHA-1 (see google-guide.md)
  2. Apple Developer - App ID, Service ID, Key (see apple-guide.md)
  3. Supabase - Enable providers (see supabase-guide.md)

Phase 2: Platform Config

  1. iOS: Add URL schemes to Info.plist, add Sign in with Apple capability
  2. Android: Add deep link intent filter to AndroidManifest.xml

Phase 3: Implementation

  1. Copy reference files to project
  2. Add methods to existing AuthRepositoryImpl
  3. Add provider methods to AuthNotifier
  4. Add OAuth callback route
  5. Run /i18n for strings

Core API

// Google Sign-In
final result = await repository.signInWithGoogle();

// Apple Sign-In
final result = await repository.signInWithApple();

// Result contains: userId, email?, displayName?, isNewUser

Failure Types

Type When UI Action
GoogleSignInCancelledFailure User dismissed Silent
GoogleSignInFailedFailure SDK error Error + retry
AppleSignInCancelledFailure User dismissed Silent
AppleSignInFailedFailure SDK error Error + retry
TokenValidationFailure Invalid token Error + retry
SocialAuthNetworkFailure Connection Retry button

Read the full file on GitHub · 131 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. 3mo ago First seen · 131 lines · 45 tokens per session scan A cd86ca11ec65

Subscribe to this mod's changes

social-login is a skill published in the GitHub repository launch52-ai/flutter-template (3 stars, last pushed 9mo ago), licensed MIT. It adds 45 tokens to every session and 1,027 once invoked, about $0.0002 per session on Opus 5.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-31.

Related

social-login compared with skills from other repositories

social-login next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
social-loginlaunch52-ai/flutter-templateSkill39mo agoMITA45Claude Code
django-celery-expertwilfredinni/django-starter-templateSkill553d agoMITA115Claude Code, Codex
django-expertwilfredinni/django-starter-templateSkill553d agoMITA55Claude Code, Codex
nodejs-backend-patternsever-works/directory-web-templateSkill22yesterdayAGPL-3.0A58Claude Code, Codex
nodejs-best-practicesever-works/directory-web-templateSkill22yesterdayAGPL-3.0A33Claude Code, Codex
upgrade-stripeever-works/directory-web-templateSkill22yesterdayAGPL-3.0A13Claude Code, Codex
writing-blogsappwrite/appwriteSkill59ktodayBSD-3-ClauseA64Cursor