diff --git a/src/OAuth.php b/src/OAuth.php index 45029326..34c11f69 100644 --- a/src/OAuth.php +++ b/src/OAuth.php @@ -37,7 +37,8 @@ public function __construct( $this->oauthConfig = OAuthConfig::make() ->setClientId($this->clientId) ->setClientSecret($this->clientSecret) - ->setRedirectUri($this->redirectUri); + ->setRedirectUri($this->redirectUri) + ->setTokenEndpoint(self::TOKEN_URL); } public function resolveBaseUrl(): string