For AI agents: the documentation index is at llms.txt. Guide pages have a markdown version at the same path with .md appended, before any query string or fragment.

Swift: Sign in with a passkey

Signs the user in with a passkey (WebAuthn). Available on Apple platforms except watchOS.

Examples

Sign in with a passkey

// Must opt in: @_spi(Experimental) import Supabase
let session = try await supabase.auth.passkeys.signIn()
let user = session.user