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

[13.x] Always hash client secret #1745

Merged
merged 5 commits into from
May 30, 2024

Conversation

hafezdivandari
Copy link
Contributor

Clients' secret are now always hashed.

Changes

  • Hash facade has been used to hash and check the values.
  • Passport::$hashesClientSecrets property has been removed.
  • Passport::hashClientSecrets() method has been removed.

Copy link

Thanks for submitting a PR!

Note that draft PR's are not reviewed. If you would like a review, please mark your pull request as ready for review in the GitHub user interface.

Pull requests that are abandoned in draft may be closed due to inactivity.

@hafezdivandari hafezdivandari marked this pull request as ready for review May 21, 2024 16:37
Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Think this will be a good one to have as a default and the upgrade path isn't too hard.

@taylorotwell taylorotwell merged commit 2e44a19 into laravel:13.x May 30, 2024
9 checks passed
@hafezdivandari hafezdivandari deleted the 13.x-hash-client-secret branch May 30, 2024 15:06
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.

None yet

4 participants