Mautic Community Forums

Access token lifetime (in minutes) and Refresh token lifetime (in days) missing

Access token lifetime (in minutes) and Refresh token lifetime (in days) missing from Configuration -> API Settings. Can someone please help me in configuring these parameters?



Thanks,

Nimesh

Access token lifetime (in minutes) and Refresh token lifetime (in days) missing from Configuration -> API Settings. Can someone please help me in configuring these parameters?

Thanks,
Nimesh

It’s not possible to edit them from configuration UI now, but you can find them in app/config/local.php. Clear the cache after the change. Simplest way to clear the cache is to just delete app/cache folder.

Thank you for the quick reply. I modified local.php. Does it honor duration like 30 days (2592000)?

Thanks,
Nimesh

Not sure what you are asking, but I’d say give it a try.

Sure, giving it a try. Currently I configured for 30 days, I will update if token expires before 30 days.

Thanks,
Nimesh