thephpleague / oauth2-client

Easy integration with OAuth 2.0 service providers.
http://oauth2-client.thephpleague.com
MIT License
3.63k stars 751 forks source link

Class 'Illuminate\Support\Facades\Http' not found #1027

Closed CISPDEVELOP closed 3 months ago

CISPDEVELOP commented 4 months ago

Currently using version 3.2.0 + Laravel 6 It throws the following error when trying to resolve the login path for miscrosoft:

Symfony\Component\Debug\Exception\FatalThrowableError Class 'Illuminate\Support\Facades\Http' not found

At MsGraph.php Line 78 :

$response = Http::withToken($accessToken->getToken())->get(self::$baseUrl.'me');

Does it seem to be related to abruptly removing support for versions lower than 10? Is there a possibility of persisting support for versions from 6+ for new package updates? Because it is not consistent that a minor version works in a major update of the framework but its previous version does not. (for example version v3.1.9 works correctly in Laravel 6)