API Session Cookie and Idle Timeout

I am having an issue with the Foreman API where we use an automation
platform that uses the session cookie once it is received. The issue is
that the session cookie does not appear to have an expiration attached to
it so the platform uses the cookie until it is eventually given an ‘401
Unauthorized’ once the Foreman ‘idle timeout’ is reached.

Is there a way to force Foreman to set an expiration on the session cookie?

Thanks,
Lesley Kimmel