summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Huot <JonathanHuot@users.noreply.github.com>2019-07-04 09:11:04 +0200
committerGitHub <noreply@github.com>2019-07-04 09:11:04 +0200
commit3bca3b339f746ccfabac5c313e142bde3e43b62a (patch)
tree825e38d1ed7864e6e88b82e8d91d154fbafd5acf
parentf108724dcd06a547b308e9d133d9bae6be902714 (diff)
parenta44e080f64a216f1fc8f155c945ac9a6ff993dd0 (diff)
downloadoauthlib-3bca3b339f746ccfabac5c313e142bde3e43b62a.tar.gz
Merge branch 'master' into 672-fix-null-expires-in
-rw-r--r--oauthlib/oauth2/rfc6749/clients/backend_application.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/oauthlib/oauth2/rfc6749/clients/backend_application.py b/oauthlib/oauth2/rfc6749/clients/backend_application.py
index 2483e56..5737814 100644
--- a/oauthlib/oauth2/rfc6749/clients/backend_application.py
+++ b/oauthlib/oauth2/rfc6749/clients/backend_application.py
@@ -71,5 +71,6 @@ class BackendApplicationClient(Client):
"""
kwargs['client_id'] = self.client_id
kwargs['include_client_id'] = include_client_id
+ scope = self.scope if scope is None else scope
return prepare_token_request(self.grant_type, body=body,
scope=scope, **kwargs)