8000 [13.x] Use UUID to identify clients by default by hafezdivandari · Pull Request #1764 · laravel/passport · GitHub
[go: up one dir, main page]

Skip to content

[13.x] Use UUID to identify clients by default #1764

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
Jul 3, 2024

Conversation

hafezdivandari
Copy link
Contributor

Clients are now identified by UUID by default. According to RFC6749 the client identifier must be a unique string. It's also more secure than incremental integer IDs.

Changes

  • Passport::clientUuids() method has been removed.
  • Passport::setClientUuids() method has been removed.
  • 'passport.client_uuids' config property has been removed.

Upgrade Guide

You may set Passport::$clientUuids = false on boot method of your application's App\Providers\AppServiceProvider class to identify clients by incremental integer IDs.

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 June 30, 2024 14:33
@taylorotwell taylorotwell merged commit ba3ec9d into laravel:13.x Jul 3, 2024
7 checks passed
@hafezdivandari hafezdivandari deleted the 13.x-client-uuids branch July 4, 2024 03:41
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
317C
0