Skip to content

Commit

Permalink
Merge pull request #13 from dawguk/misc/fixes
Browse files Browse the repository at this point in the history
gauth parameter
  • Loading branch information
DaveWilcock authored Jan 4, 2017
2 parents b2d8b81 + 366eb05 commit 019425a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/dawguk/GarminConnect.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,9 +104,10 @@ private function checkCookieAuth() {
private function authorize($strUsername, $strPassword) {

$arrParams = array(
'service' => "https://connect.garmin.com/post-auth/login",
'service' => 'https://connect.garmin.com/post-auth/login',
'clientId' => 'GarminConnect',
'consumeServiceTicket' => "false"
'gauthHost' => 'https://sso.garmin.com/sso',
'consumeServiceTicket' => 'false'
);
$strResponse = $this->objConnector->get("https://sso.garmin.com/sso/login", $arrParams);
if ($this->objConnector->getLastResponseCode() != 200) {
Expand Down

0 comments on commit 019425a

Please sign in to comment.