Page 1 of 1

How to change sessionExpires value in API authentication?

Posted: Sat Dec 12, 2020 6:20 pm
by rtr2
I am working with the API authentication. I can successfully authenticate, and get a session token and UserID back. For some reason it keeps setting the cookie sessionExpires value to the current time. So i can't make an subsequent calls to reservations after i authenticate, because the token is already expired.

Does anyone know how do fix this issue and or change the session length?

Any help is much appreciated

Re: How to change sessionExpires value in API authentication?

Posted: Sun Nov 28, 2021 11:29 am
by Will
Hi, did you fix this? I have the same issue. Thanks.

Re: How to change sessionExpires value in API authentication?

Posted: Sun Nov 28, 2021 12:09 pm
by TechCoder
When reporting issues like this it is important to tell what version of Booked you are running.

The API, historically, has been 'on/off' (or 'working/broken'.... - you choose how you want to say it... :) and several versions have been broken over the years.

Latest broken version 3.04 - see viewtopic.php?f=3&t=3320