Covers the full iOS authentication stack: Sign in with Apple with ASAuthorizationController, OAuth flows via ASWebAuthenticationSession, Password AutoFill integration, and biometric auth with LAContext. The real value is in the credential handling details, like the critical gotcha that email and fullName are only provided on first authorization, so you must cache them immediately. Includes proper credential state checking patterns for detecting revoked access, server-side identity token validation workflows, and the credentialRevokedNotification observer you need to handle mid-session logouts. The examples show both UIKit and SwiftUI implementations with actual delegate code, not just conceptual patterns. Use this when you're implementing any modern iOS login flow and need to handle Apple's specific quirks around credential persistence and validation.

skills.sh installs
4.1K
GitHub stars
1.3K
last updated
Aug 21, 2026

Install

$ npx -y skills add dpearson2699/swift-ios-skills --skill authentication --agent claude-code

Installs into .claude/skills of the current project.

Files

Authentication

Implement authentication flows on iOS using the AuthenticationServices framework, including Sign in with Apple, passkeys, OAuth/third-party web auth, Password AutoFill, and biometric re-authentication.

Contents

Sign in with Apple

Add the "Sign in with Apple" capability in Xcode before using these APIs.

UIKit: ASAuthorizationController Setup

import AuthenticationServices

Sponsors

Details

Repository
github.com/dpearson2699/swift-ios-skills
Categories
Backend & APIs, Security, Mobile Development
First seen
Apr 16, 2026

More from dpearson2699/swift-ios-skills

All 98
1yaklang avatarauth-secyaklang/hack-skillsEntry P1 category router for authentication and authorization. Use when testing login flows, sessions, object authorization, JWT, OAuth, CORS, CSRF, and enterpr3.9Kskills.sh installs
2dotnet avatarconfigure-authdotnet/skillsAdd authentication and authorization to a Blazor Web App, accounting for the app's render mode. USE WHEN the user needs [Authorize] on pages, AuthorizeView, rol3.9Kskills.sh installs
3inngest avatarinngest-middlewareinngest/inngest-skillsUse when adding cross-cutting concerns to durable functions — structured logging or tracing across all functions, error tracking with Sentry, payload encryption3.8Kskills.sh installs
4apollographql avatarapollo-mcp-serverapollographql/skillsGuide for using Apollo MCP Server to connect AI agents with GraphQL APIs. Use this skill when: (1) setting up or configuring Apollo MCP Server, (2) defining MCP3.3Kskills.sh installs
5redis avatarredis-securityredis/agent-skillsRedis security guidance covering authentication (requirepass and ACL users), TLS, ACL-based least-privilege access control, restricting network exposure via bin2.6Kskills.sh installs
6langgenius avatarbackend-code-reviewlanggenius/difyUse only when the user explicitly requests a review or audit of backend code under `api/`. Supports pending-change, file-focused, and pasted-diff reviews. Do no2.1Kskills.sh installs