π» Token Authentication and CORS π»
Posted on Dec 13th, 2021
Todayβs Topics
- Token authentication in DRF with Djoser
- CORS headers
π― Collaborative Project
Kick it into gear! You should have the basics of your CRUD functionality by tomorrow.
π Read | πΊ Watch | π§ Listen
- Finally Understand auth in DRF - a Will Vincent talk -> Will isnβt using the Djoser library but he does a great job of reviewing different auth strategies and why you would choose one or the other. Watch this for a better understanding and overview of auth.
π Resources
Authentication
- Djoser documentation
- DRF docs: Token-based authentication
- The Ultimate Tutorial for Django REST Framework: Login and Authentication
CORS
- MDN CORS
- Julia Evans comic explaining CORS better than MDN does
- Django CORS Guide
django-cors-headers