Загрузка страницы

DjangoCon US 2018 - Finally Understand Authentication in Django REST Framework by William S. Vincent

Traditional Django handles user authentication for us. REST Framework? Not so much. The abundance of choice is overwhelming and typically THE biggest obstacle for newcomers.

This talk is a deep dive on authentication in Django REST Framework. We’ll start with an overview of HTTP and REST APIs before demonstrating how to implement the 4 built-in auth modes and their respective pros/cons. Special attention will be paid to common gotchas such as, Why do I need “both” TokenAuth and SessionAuth? What are JWTs?

Next we’ll implement a real-world REST auth setup that includes user registration, password reset/confirm, social auth, and endpoints for sign up, log in, and log out. The third-party packages django-rest-auth and django-allauth will be used .

By the end of the talk attendees will understand the basics of REST authentication, the tradeoffs involved, and walk away with a working implementation to jumpstart their future projects.

This talk was presented at: https://2018.djangocon.us/talk/finally-understand-authentication-in/

LINKS:
Follow Will Vincent 👇
On Twitter: https://twitter.com/wsv3000
Official homepage: https://wsvincent.com

Follow DjangCon US 👇
https://twitter.com/djangocon

Follow DEFNA 👇
https://twitter.com/defnado
https://www.defna.org/

Видео DjangoCon US 2018 - Finally Understand Authentication in Django REST Framework by William S. Vincent канала DjangoCon US
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
9 ноября 2018 г. 3:17:35
00:38:14
Яндекс.Метрика