Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'League\OAuth2\Client\Provider\IdentityProviderException' not found #1

Open
conveydk opened this issue Nov 1, 2018 · 2 comments

Comments

@conveydk
Copy link

conveydk commented Nov 1, 2018

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);

@debiprasad
Copy link
Owner

Could you please provide more info?

@conveydk
Copy link
Author

conveydk commented Nov 2, 2018

Sorry i was a bit too fast.

When a refresh token is invalidated, the checkResponse method in Avaza.php throw an exception. The issue is that the IdentityProviderException class on line 84, can't be resolved because it's not imported.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants