| Index: pkg/oauth2/lib/src/authorization_code_grant.dart
|
| diff --git a/pkg/oauth2/lib/src/authorization_code_grant.dart b/pkg/oauth2/lib/src/authorization_code_grant.dart
|
| index 266812e2c6bb391da7171b468462d81899369eee..c879e8ca1dece0593e8b7d418bd66b3e36051d2b 100644
|
| --- a/pkg/oauth2/lib/src/authorization_code_grant.dart
|
| +++ b/pkg/oauth2/lib/src/authorization_code_grant.dart
|
| @@ -228,7 +228,7 @@ class AuthorizationCodeGrant {
|
| /// the state beforehand.
|
| Future<Client> _handleAuthorizationCode(String authorizationCode) {
|
| var startTime = new DateTime.now();
|
| - return _httpClient.post(this.tokenEndpoint, fields: {
|
| + return _httpClient.post(this.tokenEndpoint, body: {
|
| "grant_type": "authorization_code",
|
| "code": authorizationCode,
|
| "redirect_uri": this._redirectEndpoint.toString(),
|
|
|