diff options
author | Jonathan Huot <JonathanHuot@users.noreply.github.com> | 2019-07-04 09:09:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-04 09:09:43 +0200 |
commit | a44e080f64a216f1fc8f155c945ac9a6ff993dd0 (patch) | |
tree | bd89cfd30dcee8d73af18a51a239d0fcc70231a8 | |
parent | 19d111df1c55456c0c85b6ba8051d3a9b3ac3733 (diff) | |
parent | 6f58d0e4825e06f02e2cd0b661c4fbe378082b55 (diff) | |
download | oauthlib-a44e080f64a216f1fc8f155c945ac9a6ff993dd0.tar.gz |
Fix BackendApplicationClient.prepare_request_body (#682)
Fix BackendApplicationClient.prepare_request_body
-rw-r--r-- | oauthlib/oauth2/rfc6749/clients/backend_application.py | 1 |
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) |