title: How to make Django REST JWT Authentication scale with mulitple webservers?
body: <p>I currently have a Django app that is simply a bunch of REST APIs (backed by a database of course). I am managing my authentications with <a href="https://github.com/GetBlimp/django-rest-framework-jwt" rel="noreferrer">Django REST framework JWT</a>. It's working fine. Whenever a user logs in, one of my API returns a token that the consuming application stores for later usage. So far so good.</p>
  
  <p>However, in the future, this solution will need to scale. And instead of having a single server running the Django app, I can forsee a situation when I will need multiple Webservers. Of course all those webservers will be connected to the same Database. But since the token is not stored in the Database, how will this work with mulitple web servers? A token issued by one server won't be valid on another. </p>
  
  <p>So how have other people solved this problem??</p>