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: Verify passkey authentication

Verifies a passkey assertion and establishes a session at aal1. On success the session is stored and a .signedIn auth event is emitted. It returns the Session.

Parameters

Examples

Verify a passkey sign in

// @_spi(Experimental) import Supabase
let session: Session = try await supabase.auth.passkeys.verifyAuthentication(
  challengeID: options.challengeID,
  credential: credential
)
let user = session.user