Support the ongoing development of Laravel.io →
Authentication Passport
Last updated 46 minutes ago.
0

This is related to a breaking change introduced in Laravel Passport 13.x. Passport now uses UUIDs as the default client identifiers instead of auto-incrementing integer IDs.

If you want to keep using your existing numeric client IDs (such as 15), you can explicitly disable UUID-based client IDs.

In your App\Providers\AppServiceProvider.php, add the following inside the boot() method:

use Laravel\Passport\Passport;

public function boot(): void
{
    Passport::$clientUuids = false;
}

This allows Passport to continue using integer-based client IDs, preserving compatibility with your existing client identifiers.

Also, check the Passport 13 upgrade guide for the recommended oauth_clients table schema changes. These migrations are particularly important when using integer-based client IDs.

If you decide to migrate to UUIDs instead, you will need to create new OAuth clients using the appropriate grant type and update the client ID and secret in your API-consuming applications.

Important: Do not manually change existing client IDs in the database. Client IDs are associated with issued tokens, and changing them will invalidate previously issued tokens.

Official upgrade guide: https://github.com/laravel/passport/blob/13.x/UPGRADE.md#identify-clients-by-uuids

1
Solution selected by @califer

Thank you very much!

0

Sign in to participate in this thread!

Moneytrees

Your banner here too?

Curtis califer Joined 3 Dec 2026

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.