I am writing a multi-platform Flutter desktop app (macOS, Windows, Linux) and am trying to get Supbase Auth to work.
I can present a SupaMagicAuth widget, but for the app to know anything about the magic link having been clicked I need to launch the app from the magic-link, which means I need to associate the app with my callback URL scheme. In the past, I've done this on iOS and Android with other auth providers, never in a Flutter desktop app.
Does anyone know:
- If there are any instructions on how to associate a redirect URL with the project in the types of native wrappers that Flutter creates?
- If there the Supabase SDK has something where I can send a OTP to the user's email, then have them enter the code they received manually to create an auth session?