Hey, I've spend a couple of hours today trying to implement magic-link auth with passport in my app
Which btw. now after taking a break from it, I think I was overcomplicating the whole process by using the passport-magic-login library. I could just generate token the moment that /login endpoint is hit, send it and verify the callback after user clicks a button on that email, right?
But that's not my main question, after fighting with this and having some time to think about it I came to conclusion that maybe there's something better that I could use for auth in my mobile app than passport as it feels not so great after todays fight with it. So my question is, what should I use for auth for my setup (nestjs + prisma + graphql)? From the initial research that I've did this ones looked the most promising: stick with passport, Supabase, Supertokens. Is there something better? Maybe I'm completely wrong and passport is not so bad in the end? Also please keep in mind that in the long term I would like support the following ways of authentication in my app: magic-link (for starters this is what I would like to implement), sign in with google account and sign in with apple account
Thanks, and I hope this question is not an issue as I've tried to research answer for it on Reddit/over Google and here on Discord but I couldn't find a definitive answer to it, especially for requirements as mine