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
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.