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: Start passkey registration

Fetches credential creation options to register a new passkey for the signed-in user.

Examples

Get passkey registration options

// @_spi(Experimental) import Supabase
let options: PasskeyRegistrationOptions = try await supabase.auth.passkeys.registrationOptions()
// Hand options.options to the platform authenticator.