Skip to main content
skill CX Codex

authentication · dpearson2699 — Claude Code skill: iOS sign-in and setup

Build iOS sign-in flows with Apple credentials, passkeys, OAuth and biometrics. Useful when an app needs credential-state handling and server-side token checks.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dpearson2699/swift-ios-skills --skill authentication -a claude-code
Open on GitHub

What authentication does

This skill covers iOS authentication with AuthenticationServices and LocalAuthentication. Its examples address Sign in with Apple, passkeys, OAuth through ASWebAuthenticationSession, Password AutoFill and biometric re-authentication. It also walks through ASAuthorizationController results and checking Apple credential status when the app starts, including what to do after access is revoked.

The server must validate or exchange the identityToken and authorization code; the app should not treat either as proof on its own. Before adding Sign in with Apple, enable the relevant app capability in Xcode. Passkeys have a domain requirement: configure the relying-party domain with the webcredentials: Associated Domain and an AASA entry.

For token checks, the skill describes using Apple’s public keys and validating iss, aud and exp. Client-side checks alone are not enough, so this distinction affects where the authentication boundary belongs.

What it helps with

  • add Sign in with Apple to an iOS app
  • handle revoked Apple credentials on app launch
  • send an identity token for server validation
  • configure passkey sign-in for an app domain
  • add biometric re-authentication with LAContext

Example prompts for the agent

  • Implement Sign in with Apple and handle the ASAuthorizationController result.
  • Check Apple credential status when the app launches and sign out after revocation.
  • Set up passkey sign-in for my app domain and explain the Associated Domain requirements.

How to install authentication

1Skills CLI (Vercel)

npx skills add dpearson2699/swift-ios-skills --skill authentication -a claude-code

2Manually: put the files in place

~/.claude/skills/authentication/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/authentication/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about authentication

How do I install authentication in Claude Code?

Run npx skills add dpearson2699/swift-ios-skills --skill authentication -a claude-code. The skill file is at ~/.claude/skills/authentication/SKILL.md.

What does the authentication skill do?

It guides iOS sign-in work involving Apple credentials, passkeys, OAuth, Password AutoFill and biometrics. It also covers credential status and server-side token handling.

What is required for passkeys?

Configure the relying-party domain with a webcredentials: Associated Domain and an AASA entry.

Similar skills

Everything for Mobile →

authentication by other authors comes first.

From the same set86

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor