Did you set the token times in the boot method of AuthServiceProvider?
In the docs, there are examples of setting the refresh token and personal access token expiration times. You can see them at the following link.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
I have an API working correctly already, and my Personal Access works well. I am trying to add a functionality since i need my token to expire in 1 hour but that every time a call is made for it to auto-renew for another hour, basically after every call the expire_at should update to 1 hour from now().
Is there a simple way to do this? something already coded on Passport?
Please or to participate in this conversation.