~/talk

Sign in with Apple using SwiftUI

Talkat iOS Conf SG 2020 · on Thursday, 2020-01-30· [ios]
slides:none on file

Shows how to add Sign in with Apple to a SwiftUI app by wrapping the ASP button in UIViewRepresentable, enabling the Xcode capability, and honoring Apple’s minimum button size (280×60). Explains storing one-time name/email in keychain storage to survive failed server registration, persisting Apple’s stable per-team user identifier in the database, and validating the returned identity token (JWT) server-side (Apple’s token expires in ~9 minutes). Notes simulator quirks, associated domains for web SSO, and a simple register vs. login flow.

AI-written summary · about

  1. 0:00Start
  2. 0:15Simpler Authentication
  3. 1:09Gotchas
  4. 3:02Add Capabilities
  5. 4:52Wrap the View
  6. 6:28It's A Real View Now
  7. 7:10Request Scopes
  8. 16:10Login Changes
  9. 17:49Support Web Login
  10. 22:07No Window Needed
  11. 26:26Server Side
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.