session. No cookie. • Signed. Can be decoded and checked for validity. • Authorization header using the Bearer or JWT schema Authorization: JWT <token> • django-rest-framework-jwt Provides JWT_AUTH settings variable to set schema, expiration, refresh time, leeway…
url 2. Token is sent back to the front 3. Token is stored in browser’s local storage Backend https://github.com/Tivix/django-rest-auth urlpatterns = [ url(r'^api/get-token/', LoginView.as_view()), url(r'^api/refresh-token/', refresh_jwt_token) ]