Core: learn it Step 12 of 16 on the Backend Developer (Django) roadmap
Sessions or tokens
Session authentication stores a cookie in the browser and suits pages served by Django itself. Token authentication sends a key in a header and suits mobile apps and frontends on another domain.