© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2021
V. GagliardiDecoupled Django https://doi.org/10.1007/978-1-4842-7144-5_10

10. Authentication and Authorization in the Django REST Framework

Valentino Gagliardi1  
(1)
Colle di Val D’Elsa, Italy
 
This chapter covers:
  • Token-based authentication and JWT in brief

  • Session-based authentication for single-page apps

Writing a technical book means starting with a billion topics to cover, and not enough space to fit everything in.

Authentication is one of those huge topics that almost impossible to cover deeply in a single chapter. There are simply too many scenarios: mobile applications, desktop applications, and single-page apps. Since this book has been more about single-page ...

Get Decoupled Django: Understand and Build Decoupled Django Architectures for JavaScript Front-ends now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.