2 weeks ago

Token life time with passport in Laravel 6.x

Posted 2 weeks ago by javineo

I tried to use the method in AuthServiceProvider:

 public function boot()


to make the token expire in 1 minute, but no such thing happened.

I read something about whether the API is personal or client, I did not understand that. Can someone explain me better why it doesn't work with staff? How could I apply it to a client?

Thank you very much!!

Please sign in or create an account to participate in this conversation.