Asked By: Anonymous
I am developing a web application which has backend written in Django (using Django REST Framework for API) and frontend written in Next.js.
I was considering implementing user authentication in the frontend using tools like PassportJS or Auth0. But, is there a way to leverage Django’s own authentication system and avoid using third-party libraries like the ones mentioned above?
Solution
Answered By: Anonymous
why not consider using in made django UserCreationForm it is as simple as it looks
from django.contrib.auth.forms import UserCreationForm
and the user from
from django.contrib.auth.models import User