Skip to content

Commit

Permalink
Merge pull request #8 from latysh/hotfix/fix-urls
Browse files Browse the repository at this point in the history
Fix URL issues as per new requirements
  • Loading branch information
ajibarra authored Dec 10, 2024
2 parents 3f65483 + 77d9d57 commit 4fb47cf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Provider/Cognito.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ private function getCognitoUrl($action)
*/
public function getBaseAuthorizationUrl()
{
return $this->getCognitoUrl('/authorize');
return $this->getCognitoUrl('/oauth2/authorize');
}

/**
Expand All @@ -154,7 +154,7 @@ public function getBaseAuthorizationUrl()
*/
public function getBaseAccessTokenUrl(array $params)
{
return $this->getCognitoUrl('/token');
return $this->getCognitoUrl('/oauth2/token');
}

/**
Expand Down

0 comments on commit 4fb47cf

Please sign in to comment.