Using Django with NextAuth Email Provider

Hi I currently have a Django API app and a NextJS project.
I am trying add magic link authentication with NextAuth. I’ve seen many articles on using Django and NextAuth together, but only with CredentialsProvider/JWT.

Has anyone successfully integrated NextAuth EmailProvider with Django? I would love to see some example code or even just a high level overview on how you did it.

I think a custom implementation with django-sesame would work well. I am just not comfortable enough with NextAuth to roll my own. Hoping someone here can shed some light.