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

Channel:
Subscribers:
42,400
Published on ● Video Link: https://www.youtube.com/watch?v=g1_slwbmwqU



Duration: 0:00
78 views
3


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.




Other Videos By Confreaks


2022-04-08DjangoCon US 2018 - Lightning Talks Day 3
2022-04-08DjangoCon US 2018 - Easier Classes: Python Classes Without All The Cruft by Trey Hunner
2022-04-08DjangoCon US 2018 - Django REST Framework: Moving Past the Tutorial to Production by Drew Winstel
2022-04-08DjangoCon US 2018 - Keynote with Mariatta Wijaya
2022-04-08DjangoCon US 2018 - Building a Community for All People by Jennifer Konikowski
2022-04-08DjangoCon US 2018 - We Are 3000 Years Behind... by Hayley Denbraver
2022-04-08DjangoCon US 2018 - Python on your phone: Building mobile apps with Kivy by Derek Payton
2022-04-08DjangoCon US 2018 - One Engineer, an API, and an MVP... by Nicole Zuckerman
2022-04-08DjangoCon US 2018 - When your wetware has too many threads... by Aaron Bassett
2022-04-08DjangoCon US 2018 - Here Come The Robots - Django and Machine Learning by Tom Dyson
2022-04-08DjangoCon US 2018 - Finally Understand Authentication in Django REST Framework by William S. Vincent
2022-04-08DjangoCon US 2018 - What's in a Name? Your Guide to the Wacky World of DNS by Ashley Sullins
2022-04-08DjangoCon US 2018 - "Normalize until it hurts; denormalize until it works"... by Flávio Juvenal
2022-04-08DjangoCon US 2018 - Fundamentals of Kubernetes for Django developers by Graham Dumpleton
2022-04-08DjangoCon US 2018 - Serverless Django with Zappa by Dane Hillard
2022-04-08DjangoCon US 2018 - JavaScript for Python Developers by Žan Anderle
2022-04-08DjangoCon US 2018 - Introduction to Django and GraphQL by Patrick Arminio
2022-04-08DjangoCon US 2018 - Simpl framework, big impact! by Joseph Lee & Jane Eisenstein
2022-04-08DjangoCon US 2018 - Lightning Talks Day 2
2022-04-08DjangoCon US 2018 - Keynote by Anna Makarudze
2022-04-08DjangoCon US 2018 - Your web framework needs you! by Carlton Gibson