Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ OAuth2.0 Provider - Bugfixes
OAuth2.0 Client - Bugfixes

* #290: Fix Authorization Code's errors processing
* #603: BackendApplication.Client.prepare_request_body use the `scope` argument as intended.
* #603: BackendApplicationClient.prepare_request_body use the `scope` argument as intended.
* #672: Fix edge case when `expires_in=Null`
* #725: LegacyApplicationClient.prepare_request_body now correctly uses the default `scope` provided in constructor

OAuth1.0 Client

Expand Down
1 change: 1 addition & 0 deletions oauthlib/oauth2/rfc6749/clients/legacy_application.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,6 @@ def prepare_request_body(self, username, password, body='', scope=None,
"""
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, username=username,
password=password, scope=scope, **kwargs)