Token duration in settings

Hi!
is it possible to set a longer token duration in settings?

Thanks
Gerfried

Hello @itnant

Yes, you can! You just need to set the ACCESS_TOKEN_TTL environment variable to your desired duration (for example, 1d for one day).

You can find more details in the documentation here:
https://directus.io/docs/configuration/security-limits