What is the default token expiration. Based on the code it seems to be 5 hours, however, I seem to have to log back in after 30 minutes.
There is a multiplier in the code, 10000, that I can edit to get a longer token, but it seems to not work. Where does the qml request token time. When I generate token in portal I get to choose the expiration...
var now = new Date();
_portal.lastRenewed = now;
_portal.expires = new Date(now.getTime() + response.expires_in*10000);
console.log("Token expires at : ", expires.toLocaleString());
timer.interval = _portal.expires - Date.now() - 5000;