Skip to content

[8.x] Add client credentials grant note #7526

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

Merged
merged 3 commits into from
Dec 20, 2021
Merged

[8.x] Add client credentials grant note #7526

merged 3 commits into from
Dec 20, 2021

Conversation

martinbean
Copy link
Contributor

Someone on the Laracasts forums claimed protecting routes with the client credentials grant type was confusing because they had read the “Protecting Routes” section, so had erroneously added auth:api to their routes, instead of using the client middleware as instructed in the “Client Credentials Grant Tokens” section.

This attempts to mitigate that misunderstanding by adding a note highlighting if you are using the client credentials grant type, to use the client middleware and not the auth:api middleware.

@taylorotwell taylorotwell merged commit e69b326 into laravel:8.x Dec 20, 2021
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.

2 participants