@juanro49 You can change the authentication_token_lifetime parameter in your mitra configuration file.
I'm wondering if there is an undocumented token renewal mechanism that everyone uses. Mastodon API docs doesn't say anything about it, but isn't issuing long-living tokens considered a bad practice?