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
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
Показать
Комментарии отсутствуют
Информация о видео
Другие видео канала
DjangoCon US 2018 - Django REST Framework: Moving Past the Tutorial to Production by Drew WinstelDjangoCon Europe 2016 - Anton Pirker - Best Practices Scaling DjangoDjangoCon 2019 - Search From the Ground Up by William S. VincentDjangoCon US 2017 - Django vs Flask by David "DB" BaumgoldDjangoCon US 2018 - Building Workflows With Celery by Josue Balandrano CoronelRestricting Access with Permissions (Django Rest framework)Авторизация по token django rest frameworkOAuth 2.0: An OverviewRegister a New User (Django Rest framework)Authentication on the Web (Sessions, Cookies, JWT, localStorage, and more)Why would a new developer choose Django?Common API security pitfalls by Philippe De RyckDjangoCon US 2017 - Write an API for Almost Anything... by Charlotte MaysGenerating Authentication Tokens (Django Rest framework TokenAuthentication)What Is JWT and Why Should You Use JWTDjangoCon US 2017 - Type UWSGI; Press Enter; What Happens? by Philip JamesDjangoCon US 2018 - JavaScript for Python Developers by Žan AnderleDjangoCon 2019 - Generic View? What is that and why would I use it? by Felipe LeeDjangoCon 2019 - Static Typing in Python by Dustin IngramTaller 6. Django Rest Framework | Autenticacion via Token - Login y Logout