diff --git a/oauth2_provider/oauth2_backends.py b/oauth2_provider/oauth2_backends.py index f04463d2d..accd9d3f8 100644 --- a/oauth2_provider/oauth2_backends.py +++ b/oauth2_provider/oauth2_backends.py @@ -1,11 +1,11 @@ import json from urllib.parse import urlparse, urlunparse +from django.http import HttpRequest from oauthlib import oauth2 from oauthlib.common import Request as OauthlibRequest from oauthlib.common import quote, urlencode, urlencoded from oauthlib.oauth2 import OAuth2Error -from django.http import HttpRequest from .exceptions import FatalClientError, OAuthToolkitError from .settings import oauth2_settings