Logo von Flow Auth

Flow Auth

Community
jpoindexter
flow-auth

Verwenden Sie diesen Skill, wenn Sie eine beliebige Authentifizierungsoberfläche entwerfen, erstellen oder überprüfen – darunter Registrierung, Anmeldung und Abmeldung, Magic Links, Passkeys, OAuth-/SSO-Schaltflächen, das Zurücksetzen von Passwörtern, 2FA/MFA, E-Mail-Verifizierung oder den Umgang mit abgelaufenen Sitzungen. Verwenden Sie ihn auch, wenn Nutzer melden, dass sie ausgesperrt sind, durch gemischte Authentifizierungsmethoden doppelte Konten entstehen, E-Mails zum Zurücksetzen verwirrend sind oder Nutzer den Registrierungs- oder Anmeldebildschirm abbrechen.

Add to TypingMind

Übersicht

Herausgeberjpoindexter
Repositoryux-flow-skills
Skill-Nameflow-auth
Sterne
5
Forks
0
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von jpoindexter auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Flow Auth in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-auth
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/jpoindexter/ux-flow-skills.git /tmp/ux-flow-skills
mkdir -p .claude/skills
cp -r /tmp/ux-flow-skills/skills/flow-auth .claude/skills/flow-auth
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Flow Auth in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Flow Auth automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Flow Auth nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Authentication Flows

Overview

Auth is a toll booth, not a destination: minimize fields, decisions, and round-trips, and never lose the user's work or intent across the auth boundary. Ask for identity (email) first and defer the credential decision — the server, not the user, should figure out what happens next.

When to Use

  • Building signup, login, reset, verification, 2FA, or session-management screens
  • Choosing among passwords, magic links, OTP codes, passkeys, OAuth/SSO
  • Reviewing auth drop-off, lockout complaints, or duplicate-account bugs
  • Handling session expiry, re-authentication, step-up auth, or logout UX
  • NOT for: authorization/roles/permissions logic (backend access control)
  • NOT for: machine-to-machine/API-key auth (no human in the loop)

The Proven Flow

Combined entry (preferred over separate signup/login screens)

  1. Screen 1 — Identity. Single email field + "Continue" button.
    • SSO buttons (Google/Apple + at most 1–2 more) placed above the email field, above the fold.
    • No password field yet. No "Sign up vs Log in" choice — there are no tabs to pick wrong.
    • Proven: Google, Slack, Notion, Medium, Vercel all use progressive single-field entry.
    • If legacy constraints force separate pages, cross-link both prominently ("Already have an account? Log in").
  2. Server routing. Existing account → credential step for that account's method (passkey, password, or code). New email → signup step, silently — the same send-a-code screen as login; the user never learns they took a different path.
  3. Screen 2 — Credential. Exactly one of:
    • Passkey (offer first when the account has one): conditional UI (autofill-style prompt on the email field), one biometric tap, done. Always render a visible fallback ("Use a code instead") — passkeys fail on borrowed/shared devices.
    • Magic link + OTP code together: "We sent a code to j***@x.com" with a 6-digit input. Send BOTH a tappable link and a code in the same email (Slack, Notion, Medium) — links break when email opens on a different device; the code works anywhere. Auto-advance digits, auto-submit on the 6th, autocomplete=one-time-code. Code/link valid 5–10 minutes, single-use, with the expiry shown ("Code expires in 9:59"). "Resend" disabled 30s with visible countdown; "Use a different email" link present.
    • Password (if that's the account's method): single field, show/hide toggle, "Forgot password?" adjacent to the field (not page bottom), submit on Enter.
  4. New accounts: nothing else required. No name, no confirm-password (show/hide replaces it), no CAPTCHA unless abuse signals fire. Profile data belongs to onboarding (see flow-onboarding).
  5. Preserve intent across the boundary. The deep link / cart / draft the user was heading to must survive the whole flow — including OAuth redirects and the verification round-trip. Auth that dumps users on a generic dashboard loses the task.

Choosing the credential stack

Product typePrimarySecondaryPassword?
Consumer mobileApple + Google SSOEmail OTP codeNo — skip entirely
Consumer webGoogle SSO + passkeysEmail code + linkOptional, never required
B2B SaaSGoogle SSO / domain-routed SAMLEmail codeLegacy support only
Security-sensitive (fintech)PasskeysPassword + mandatory 2FAYes, with step-up
  • New products in 2026 should treat passwords as the legacy fallback, not the default: passkey-first with email-code fallback covers every device case with less support load.
  • New accounts enroll a passkey via a one-tap prompt immediately after first successful login (never mid-signup); decline is silent, re-offer from settings only.
  • Whatever the stack, one account per email — methods are doors into the same account, never separate accounts.

OAuth / SSO specifics

  • 1–3 providers max; each extra button lowers completion and pushes email entry below the fold.
  • "Continue with Google" wording on a combined screen (serves both signup and login). Official brand buttons, full-width, uniform heights.
  • Apple rule (iOS): offering third-party/social login requires also offering a privacy-preserving option (App Review 4.8, relaxed Jan 2024) — Sign in with Apple satisfies it and is the pragmatic default.
  • Account collision: OAuth email matches an existing password account → auto-link only when the provider verifies the email; otherwise prompt "This email has a password account — log in to connect Google."
    • Never create a silent duplicate account — duplicates are the top source of "my data disappeared" tickets.
  • B2B: detect corporate domains on the email step and auto-route to the org's SAML/SSO (Slack, Notion, Figma pattern).

Email verification

  • Do NOT block product use on verification unless legally or abuse-required.
    • Let the user in; show a dismissible banner; hard-gate only sensitive actions (payouts, inviting others, publishing publicly).
  • Verification email: one button, valid ≥24h, single-use.
  • Clicking lands the user logged in at their prior destination — never a "Verified! Please log in." dead end.
  • Waiting screen offers: "Check spam · Resend · Change email address."

Password reset (when passwords exist)

  1. "Forgot password?" → email field pre-filled from the login attempt → send.
  2. Confirmation copy identical whether or not the account exists: "If an account exists for X, we've sent a reset link." Never leak account existence.
  3. Reset link: expires ≤1h, single-use → new-password screen with one field, show/hide, and a live requirements checklist that ticks while typing.
  4. On success: log the user in immediately, invalidate other sessions, email a "your password was changed" notice with a support link.

2FA / MFA

  • Prompt at login only, after the primary credential succeeds.
  • Method order in UI: passkey/security key → TOTP authenticator app → SMS last (SIM-swap risk — express via ordering, not scare copy).
  • "Trust this device for 30 days" checkbox on the challenge screen.
  • Enrollment must issue backup codes: 10 one-time codes, forced download/copy confirmation before setup completes.
  • "Lost your device?" recovery link on the challenge screen itself — invisible recovery paths are the #1 auth support ticket.
  • Step-up auth: re-challenge for sensitive actions (change email, view API keys, delete account) even within a valid session.

Session expiry

  • Expiry mid-session: keep the page rendered, overlay a re-auth modal, preserve all unsaved work and the in-flight action, replay it after re-auth.
  • Never hard-redirect a mid-form user to a login page — that destroys drafts.
  • Sensitive apps (banking pattern): warn before timeout — "Session expires in 2:00 — Stay signed in."
  • Remember-me default ON for consumer products, OFF for shared-device contexts.

Logout

  • One action from the account menu, no confirmation dialog (cheaply reversible), land on login/marketing page, clear all client state and tokens.
  • "Log out of all devices" lives in security settings alongside a session list (device, location, last active, revoke) — not inside the logout action.

Layout & Structure

  • One field per screen in progressive flows; never email + password + confirm + name stacked at signup.
  • Vertical order: SSO block → "or" divider → email field → Continue. All above the fold on a 667pt-class viewport.
  • Buttons/fields ≥44pt (iOS) / 48dp (Android) tall, full-width on mobile, single column always.
  • Autofill attributes are mandatory:
    • type=email + autocomplete=email (or username)
    • autocomplete=current-password / new-password
    • autocomplete=one-time-code + inputmode=numeric on OTP fields (enables SMS/email code autofill on iOS and Android)
  • Passwords: never disable paste; show/hide toggle; live requirements checklist, not a post-submit error dump; accept length ≥64; no forced periodic rotation.
  • Errors: inline under the offending field, specific and safe.
    • Two-step flow may say "Incorrect password" (email already validated).
    • Single-screen login says "Email or password is incorrect."
    • Escalation under attack: rate-limit → CAPTCHA → temporary lockout with reset prompt.
  • Identity persistence: show it on every step — "Signing in as j***@x.com · Not you?"
  • Loading: submit buttons show an inline spinner and disable on tap; never allow double-submit of OTP or signup.
  • Legal: "By continuing you agree…" small text below the CTA; no checkbox unless a jurisdiction requires it.

Error copy patterns

Instead ofWrite
"Authentication failed""Email or password is incorrect. Forgot password?"
"Invalid token""This link has expired. We can send a new one."
"User not found""If an account exists for X, we've sent a link."
"Too many attempts""Too many tries. Wait 5 minutes or reset your password."

Quick Reference

SituationPattern
Greenfield auth surfaceCombined email-first flow; passkeys with code fallback; SSO on top
Consumer mobile appApple + Google SSO first, email code second, password optional/absent
B2B SaaSGoogle SSO + email; corporate domain → auto-route to SAML
Unknown email typed at "login"Route silently into signup — no "no account found" error
Magic link opened on another deviceThe paired 6-digit code covers it
Password reset requestNeutral confirmation; never reveal account existence
2FA enrollmentBackup codes mandatory; TOTP over SMS; trust-device option
Session died mid-formRe-auth modal over the page; preserve and replay the action
OAuth email collides with password accountVerify then link, or prompt to log in and connect — never duplicate
Sensitive action inside a sessionStep-up re-authentication
LogoutImmediate, no confirm; all-device revoke lives in settings
Verification emailLands the user logged-in at their original destination

Anti-Patterns

Anti-patternFix
Separate Sign up / Log in tabs users pick wrongOne email field; server routes to the right flow
Password + confirm + name + phone at signupEmail (or SSO) only; show/hide replaces confirm
Blocking all product use until email verifiedLet them in; gate only sensitive actions
"No account found with that email"Neutral copy or silent route-to-signup
Magic link as the ONLY credentialSend a 6-digit code too; links strand cross-device users
SMS as default 2FAPasskey/TOTP first; SMS as last-resort fallback
Disabling paste in password/OTP fieldsNever — it breaks password managers and autofill
Session expiry → hard redirect, draft lostOverlay re-auth, preserve state, replay the action
Logout confirmation dialogJust log out
Verification link → "Success, please log in"Land logged-in at the original destination
5+ social login buttons1–3; more measurably lowers completion
Password rules revealed only via rejectionLive checklist while typing
Forced periodic password rotationDrop it; push passkeys instead
CAPTCHA on every login by defaultOnly after rate-limit signals fire
Auth dumps user on a generic dashboardCarry the deep link through every redirect
Missing autocomplete attributesFull autofill markup; test with a password manager

Success metrics: entry-flow completion rate and access-related support-ticket rate — not the count of security features shipped.

Häufig gestellte Fragen

Was macht der KI-Skill Flow Auth?

Verwenden Sie diesen Skill, wenn Sie eine beliebige Authentifizierungsoberfläche entwerfen, erstellen oder überprüfen – darunter Registrierung, Anmeldung und Abmeldung, Magic Links, Passkeys, OAuth-/SSO-Schaltflächen, das Zurücksetzen von Passwörtern, 2FA/MFA, E-Mail-Verifizierung oder den Umgang mit abgelaufenen Sitzungen. Verwenden Sie ihn auch, wenn Nutzer melden, dass sie ausgesperrt sind, durch gemischte Authentifizierungsmethoden doppelte Konten entstehen, E-Mails zum Zurücksetzen verwirrend sind oder Nutzer den Registrierungs- oder Anmeldebildschirm abbrechen.

Warum Flow Auth in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Flow Auth besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Flow Auth in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/jpoindexter/ux-flow-skills/tree/main/skills/flow-auth ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Flow Auth nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Flow Auth verwenden?

So viele Sie möchten. In TypingMind können Sie Flow Auth mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Flow Auth kostenlos?

Ja. Der Skill wird von jpoindexter auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇