Django.contrib.auth.middleware.SessionAuthenticationMiddleware is removed from django 2.0 onwards
It is still mentioned in the documentation https://django-oauth-toolkit.readthedocs.io/en/latest/tutorial/tutorial_03.html#setup-a-provider
Is there any work around of this