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 'TheNetworg\OAuth2\Client\Provider\RuntimeException' not found #34

Open
devincrossman opened this issue Jun 27, 2017 · 1 comment

Comments

@devincrossman
Copy link

Getting this error with

Error in: ROOT/vendor/thenetworg/oauth2-azure/src/Provider/Azure.php, line 240

using RuntimeException from the root namespace fixes the error
change
throw new RuntimeException
to
throw new \RuntimeException

Also my Application Id is found in the appid claim while aud contains https://graph.windows.net/
changing the token claim check on line 239 from aud to appid allows the token to be validated correctly

@hajekj
Copy link
Member

hajekj commented Jun 27, 2017

Could you please submit a PR? I will be able to get to fixing it in about 14 days, leaving for vacation tomorrow.

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

Successfully merging a pull request may close this issue.

2 participants