authentication
Implement iOS authentication flows with AuthenticationServices and LocalAuthentication. Use when building Sign in with Apple, passkey/WebAuthn registration or sign-in with ASAuthorizationPlatformPublicKeyCredentialProvider, ASAuthorizationController credential state and revocation handling, ASWebAuthenticationSession OAuth or third-party login, Password AutoFill, identity-token server validation, or local biometric re-authentication with LAContext.
npx skills add dpearson2699/swift-ios-skills --skill authentication --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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](#sign-in-with-apple) - [Credential Handling](#credential-handling) - [Credential State Checking](#credential-state-checking) - [Token Validation](#token-validation) - [Existing Account Setup Flows](#existing-account-setup-flows) - [Passkeys](#passkeys) - [ASWebAuthenticationSession (OAuth)](#aswebauthenticationsession-oauth) - [Password AutoFill Credentials](#password-autofill-credentials) - [Biometric Authentication](#biometric-authentication) - [Security Boundaries](#security-boundaries) - [SwiftUI SignInWithAppleButton](#swiftui-signinwithapplebutton) - [Common Mistakes](#common-mistakes) - [Review Checklist](#review-checklist) - [References](#references) ## Sign in with Apple Add the "Sign in with Apple" capability in Xcode before using these APIs. ### UIKit: ASAuthorizationController Setup ```swift import AuthenticationServices final class LoginViewController: UIViewController { func startSignInWithApple() { let provider = ASAu
- Contents
- Sign in with Apple
- UIKit: ASAuthorizationController Setup
- Delegate: Handling Success and Failure
- Credential Handling
- Credential State Checking
- Credential Revocation Notification
- Token Validation
- Existing Account Setup Flows
- Passkeys
- ASWebAuthenticationSession (OAuth)
- Password AutoFill Credentials
- Biometric Authentication
- Security Boundaries
What does the authentication skill do?
Implement iOS authentication flows with AuthenticationServices and LocalAuthentication. Use when building Sign in with Apple, passkey/WebAuthn registration or sign-in with ASAuthorizationPlatformPublicKeyCredentialProvider, ASAuthorizationController credential state and revocation handling, ASWebAuthenticationSession OAuth or third-party login, Password AutoFill, identity-token server validation, or local biometric re-authentication with LAContext.
How do I install it?
Run `npx skills add dpearson2699/swift-ios-skills --skill authentication --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From dpearson2699/swift-ios-skills, a repository with 963 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.