Next-Auth with Django, how can we do it? Email Based, and OAuth Both!

I have be struggling a lot with connecting NextAuth Oauth with Django Backend, also I am really confused how we can de Email/Password based authentication with with NextAuth (Next.Js) and Django Rest Framework backed… Has anyone have ever done it?

1 Like

You should probably check out an article by Mahieyin Rahmun, I found it helpful, here is the link (Part 1) How to configure social authentication in a Next.js + Next-Auth + Django Rest Framework application | by Mahieyin Rahmun | Medium

2 Likes

I’d also recommend this great article:
Django REST Framework Authentication with Auth.js

1 Like