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

fix #691 Exception will thrown if token belongs to first party clients #1037

Closed
wants to merge 1 commit into from
Closed

Conversation

alshf89
Copy link
Contributor

@alshf89 alshf89 commented Jul 3, 2019

I made a pull request for issue #691.

So when someone passes a token in their request which belongs to first party clients (such as Password Credentials), our middlewares will throw an Illuminate\Auth\AuthenticationException Exception.

So only those who have issued access token with Client Credentials grant type can go through CheckClientCredential & CheckClientCredentialForAnyScope Middlewares.

@alshf89 alshf89 closed this Jul 3, 2019
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 this pull request may close these issues.

1 participant