resourceOwnerPasswordGrant should consistently use HTTP client (#21)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d629306..2a72fc4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,8 @@
+# 1.1.1
+
+* `resourceOwnerPasswordGrant()` now properly uses its HTTP client for requests
+ made by the OAuth2 client it returns.
+
# 1.1.0
* Add a `delimiter` parameter to `new AuthorizationCodeGrant()`, `new
diff --git a/lib/src/resource_owner_password_grant.dart b/lib/src/resource_owner_password_grant.dart
index 9986ba7..9b48378 100644
--- a/lib/src/resource_owner_password_grant.dart
+++ b/lib/src/resource_owner_password_grant.dart
@@ -70,5 +70,6 @@
var credentials = await handleAccessTokenResponse(
response, authorizationEndpoint, startTime, scopes, delimiter);
- return new Client(credentials, identifier: identifier, secret: secret);
+ return new Client(credentials,
+ identifier: identifier, secret: secret, httpClient: httpClient);
}