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

[9.x] Client credentials middleware should allow any valid client (#1125) #1132

Merged
merged 1 commit into from
Dec 5, 2019
Merged

Conversation

JuanDMeGon
Copy link
Contributor

This commit "revert" Passport to its regular behavior where the client.credentials middleware only determines if the received access token is valid, which is only possible when the client credentials are correct, independently of the type of the client or even the type of the access token itself.

This was already discussed on this issue (#1125).

@driesvints driesvints changed the title Client credentials middleware should allow any valid client (#1125) [9.x] Client credentials middleware should allow any valid client (#1125) Dec 3, 2019
@taylorotwell taylorotwell merged commit b282892 into laravel:master Dec 5, 2019
tomjamon added a commit to tomjamon/passport that referenced this pull request May 4, 2020
Last december a change was made to allow any valid client :

Based on the theory and official standards of OAuth2: "The Client Credentials grant is used when applications request an access token to access their own resources, not on behalf of a user." (REF1, REF2).

Shouldn't this change be persistant ?

(taylorotwell merged commit on 5 Dec 2019)

Ref
laravel#1125
laravel#1132
@tomjamon tomjamon mentioned this pull request May 4, 2020
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.

3 participants