Class 'League\OAuth2\Client\Provider\IdentityProviderException' not found in checkResponse method.
Fix:
add namespace \League\OAuth2\Client\Provider\Exception\ to line 84:
throw new \League\OAuth2\Client\Provider\Exception\IdentityProviderException($message, '400', $data);