Magic links and OTPs share the same implementation. To send users a one-time code instead of a magic link, modify the magic link email template to include \{\{ .Token \}\} instead of \{\{ .ConfirmationURL \}\}.
When using magic links, specify a redirectTo that matches a configured url scheme in your iOS app, so Supabase can correctly redirect back to your app.