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.
aal2 session, signs out the user's other sessions, and emits .mfaChallengeVerified. Verifying an unverified factor also marks it verified.mfa.verifyWebAuthn(factorID:anchor:) runs the challenge, the passkey sheet, and the verification in one call (experimental). It only works with a verified factor. It is not available on watchOS.let session = try await supabase.auth.mfa.verify(
factorID: UUID(uuidString: "34e770dd-9ff9-416c-87fa-43b31d7ef225")!,
challengeID: UUID(uuidString: "4034ae6f-a8ce-4fb5-8ee5-69a5863a7c15")!,
code: "123456"
)
// @_spi(Experimental) import Supabase
// verifyWebAuthn runs the full ceremony: challenge, show the passkey sheet, verify.
// If the user dismisses the sheet, it throws CancellationError.
let session = try await supabase.auth.mfa.verifyWebAuthn(
factorID: factor.id
)