I want to use this "league/oauth2-client" library.
I have installed it via Composer.
Now when I try to use it in my controller file like this:
use League\OAuth2\Client\Provider\GenericProvider;
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
I get the error:
Error: Class 'League\OAuth2\Client\Provider\GenericProvider' not found
Any help would be greatly appreciated.
I have installed it via Composer.
Now when I try to use it in my controller file like this:
use League\OAuth2\Client\Provider\GenericProvider;
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
I get the error:
Error: Class 'League\OAuth2\Client\Provider\GenericProvider' not found
Any help would be greatly appreciated.