Building REST API authentication endpoints with dj-rest-auth

preview_player
Показать описание
This tutorial will teach you how to create REST API endpoints in your Django project for user registration, authentication, and more using the dj-rest-auth package. I'll guide you through the process of installing and setting up dj-rest-auth, and demonstrate how to use its endpoints to handle registration and authentication tasks. Along the way, you'll get to witness token authentication in action and learn how it works.

Link to the official documentation:
Рекомендации по теме
Комментарии
Автор

Thanks for the nice tutorial. As an additional comment, currently, to work with allauth, you must add the allauth middleware as well in the list of your middleware and lastly, define authentication backend to use. If this is not defined, users are not able to log in and not token will be received!

zeroday
Автор

Dude you use firefox as a web browser?

MoeCompSci
Автор

Awesome, never would have attempted to read doc and do it simultaneously as a freebie if you haven't handheld like this. Do more videos on django rest framework packages

gracyfg
Автор

Can you show the usage with custom user model ?

gracyfg
Автор

The problem I have with django rest authentication tutorials is that, the frontend integration is almost non-existent or too old. But the backend configuration is everywhere.

onyilimba
Автор

I'm trying to create a social login api with Django for a react frontend, how can I do that

neovickson
join shbcf.ru