Skip to content

Commit

Permalink
Fix wrong url
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek- committed Aug 16, 2018
1 parent 558ad4e commit 4fa6da7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

## [0.2.0] - 2018-08-16
### Fixed
- Wrong Google auth URL

## [0.2.0] - 2018-08-16
### Added
- New auth method because google given now different information than before
Expand Down
2 changes: 1 addition & 1 deletion lib/Nekland/YoutubeApi/Http/Auth/ServiceAuth.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ private function getToken()
$jws->sign($this->getPrivateKey());

$response = $this->client->post(
'https://accounts.google.com/o/oauth2/token',
'https://www.googleapis.com/oauth2/v4/token',
['Content-Type' => 'application/x-www-form-urlencoded'],
[
'grant_type' => 'urn:ietf:params:oauth:grant-type:jwt-bearer',
Expand Down

0 comments on commit 4fa6da7

Please sign in to comment.