Nov 16, 2017
0
Level 6
Laravel Passport Token Expiry Date
I try to set the Expiry Date for Passport Token.
i already set the configuration in AuthServiceProvider.php
Passport::tokensExpireIn(Carbon::now()->addDays(15));
Passport::refreshTokensExpireIn(Carbon::now()->addDays(30));
But it still didnt work at all.
is there any solution for this?
I am using the newest Laravel framework and Passport Version.
Please or to participate in this conversation.