I am having trouble with setting Password Grant token expiration.
In my AuthProvider I have
Passport::tokensExpireIn(Carbon::now()->addMinutes(10));
Passport::refreshTokensExpireIn(Carbon::now()->addMinutes(30));
The refresh token is getting the appropriate 30 minute expiration, however the access token is getting a 1 day expiration set in the database. Does anybody now why I cannot seem to control the access token expiration?
We are building a Laravel/Angular app and I am trying to keep the user from being logged in for more than 30 minutes of inactivity. Maybe I am going about this wrong?
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community