Where To Put Django Oauth Toolkit Middleware In Django 2?
I'm trying to follow a tutorial on the Django OAuth Toolkit: https://django-oauth-toolkit.readthedocs.io/en/latest/tutorial/tutorial_03.html. The instructions say to update de MIDD
Solution 1:
The SessionAuthenticationMiddleware class has been removed - session authentication was unconditionally enabled in 1.10.
(see: https://docs.djangoproject.com/en/2.0/releases/2.0/#miscellaneous)
i.e. yes, it should come after AuthenticationMiddleware
Post a Comment for "Where To Put Django Oauth Toolkit Middleware In Django 2?"