Skip to content

[11.x] Allow developers to disable the password grant type #1712

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 1 commit into from
Jan 30, 2024
Merged

[11.x] Allow developers to disable the password grant type #1712

merged 1 commit into from
Jan 30, 2024

Conversation

axlon
Copy link
Contributor

@axlon axlon commented Jan 30, 2024

The password grant type (a.k.a. Resource Owner Credentials grant type) is no longer recommended for use, due to user credentials having to be handled by a client directly. It, alongside the implicit grant type, has been omitted from the OAuth 2.1 RFC (which is still in draft).

This PR allows developers to easily disable this grant type within Laravel Passport. Its still enabled by default for backward compatibility purposes, but should probably default to disabled in the next major version of Passport

@taylorotwell taylorotwell merged commit 8a75495 into laravel:11.x Jan 30, 2024
@axlon axlon deleted the password_grant_type branch January 30, 2024 16:26
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