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: Exchange an auth code for a session

Examples

Exchange Auth Code

let session = try await supabase.auth.exchangeCodeForSession(
  "34e770dd-9ff9-416c-87fa-43b31d7ef225",
  flowID: flow.id
)