From 45a140c1f7d542e28f672009b4d3fbffebfadfef Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Mon, 1 Apr 2024 15:10:43 +0200 Subject: [PATCH] Fixed wrong refresh var for Autodesk --- src/Appwrite/Auth/OAuth2/Autodesk.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Auth/OAuth2/Autodesk.php b/src/Appwrite/Auth/OAuth2/Autodesk.php index 0b268ead3b..9d99791962 100644 --- a/src/Appwrite/Auth/OAuth2/Autodesk.php +++ b/src/Appwrite/Auth/OAuth2/Autodesk.php @@ -88,7 +88,7 @@ class Autodesk extends OAuth2 'client_id' => $this->appID, 'client_secret' => $this->appSecret, 'grant_type' => 'refresh_token', - 'code' => $code, + 'code' => $refreshToken, 'redirect_uri' => $this->callback, ]) );