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 a user

Parameters

Examples

Sign in with email and password

try await supabase.auth.signIn(
  email: "example@email.com",
  password: "example-password"
)

Sign in with phone and password

try await supabase.auth.signIn(
  phone: "+13334445555",
  password: "same-password"
)