Note this was written before edge functions were released, so it may make more sense to make these calls from edge functions, depending on what you're trying to do.
This is awesome, thank you very much. I've been looking to MagicLinks too, but I didn't know if they were safe the way I wanted to use it. Anyway, I will take inspiration from your repo.
LDAP auth is the only thing stopping me from using Supabase.
0. https://github.com/burggraf/supabase-roll-your-own-auth