17.12 · Passkey assertions, Apple ID tokens and Live Activity payloads
Sign-in and live updates are server-verified protocols; the app only carries the bytes.
Mental model. The server must check challenge, origin, flags, signature and counter for passkeys, and issuer, audience, expiry and nonce for Apple tokens.
Verifying identity
What a relying party checks.
- What must a server verify when it receives a passkey assertion?
The authenticator returns authenticatorData (32-byte hash of the relying-party id, a flags byte, a 4-byte big-endian signature counter), clientDataJSON (type… - How do you validate a Sign in with Apple identity token on a server, and what is the nonce for?
The identity token is a JWT. The server verifies the signature with Apple’s public keys (published at the keys endpoint, chosen by kid, RS256) and then the…
Live Activities
The size and shape of updates.
- How big can a Live Activity update be, and what do update and end pushes look like?
A Live Activity’s dynamic data is the ContentState, a small Codable struct (46 JSON characters in the run), and an update push carries it under aps as…
More in System frameworks
- 17.1 · UserNotifications, APNs and how a push actually gets delivered
- 17.2 · Core Location and MapKit
- 17.3 · Contacts, Calendar, Photos, HealthKit and Core Motion
- 17.4 · CloudKit, StoreKit 2 and PassKit
- 17.5 · AuthenticationServices and passkeys, Spotlight, Handoff and user activities
- 17.6 · Live Activities, WeatherKit, App Clips and CarPlay
- 17.7 · A checklist for learning any Apple framework
- 17.8 · APNs tokens, payload budgets and notification triggers
- 17.9 · Cleaning location fixes, choosing geofences, and map geometry
- 17.10 · Contacts, EventKit, HealthKit units and sensor availability
- 17.11 · Records, system fields and CKError handling