Laravel Passport tokensExpireIn seems not working
问题 i'm using Larave 5.4 passport to create SPA application. However, i was able to make authentication work. but access token are always short-lived tokens with 600s expiration time. i could not increase expiration time with: Passport::tokensExpireIn(Carbon::now()->addDays(15)); Passport::refreshTokensExpireIn(Carbon::now()->addDays(30)); it have no effect at all. any help? thanks in advance. 回答1: Personal access tokens are always long-lived . Their lifetime is not modified when using the