you can set this lines in AppServiceProvider in boot method like this :
public function boot(): void
{
Passport::tokensExpireIn(now()->addDays(1000));
Passport::refreshTokensExpireIn(now()->addDays(1000));
Passport::personalAccessTokensExpireIn(now()->addMonths(60));
}