Skip to content
This repository has been archived by the owner on Dec 21, 2023. It is now read-only.

Commit

Permalink
Merge pull request #15 from andersLAL/patch-1
Browse files Browse the repository at this point in the history
Fix typo in client_secret
  • Loading branch information
Cannonb4ll authored Sep 21, 2021
2 parents e5b05bd + 9c5d00d commit 4033ef5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/HueClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function getAccessTokenForTheFirstTime($code)
'grant_type' => 'authorization_code'
],
'headers' => [
'Authorization' => 'Basic ' . base64_encode(config('services.philips-hue.client_id') . ':' . config('services.philips-hue.client_scret')),
'Authorization' => 'Basic ' . base64_encode(config('services.philips-hue.client_id') . ':' . config('services.philips-hue.client_secret')),
'Content-Type' => 'application/json'
]
]);
Expand Down Expand Up @@ -99,7 +99,7 @@ public function refreshAndGetAccessToken()
'refresh_token' => $tokens->refresh_token,
],
'headers' => [
'Authorization' => 'Basic ' . base64_encode(config('services.philips-hue.client_id') . ':' . config('services.philips-hue.client_scret')),
'Authorization' => 'Basic ' . base64_encode(config('services.philips-hue.client_id') . ':' . config('services.philips-hue.client_secret')),
'Content-Type' => 'application/x-www-form-urlencoded'
]
]);
Expand Down

0 comments on commit 4033ef5

Please sign in to comment.