From 9632983ba66ed1903c18118c5ec3563cdce31a76 Mon Sep 17 00:00:00 2001 From: jesse Date: Thu, 10 Oct 2024 22:32:14 -0400 Subject: [PATCH] Fix OAuth token endpoint --- src/OAuth.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/OAuth.php b/src/OAuth.php index 450293265..34c11f69e 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