Interesting Web GUI Token Lifetime info

In setting the Web GUI Access Token Lifetime, it gives one the mistaken impression that one could set the token lifetime to 2,147,482 seconds or roughly 24 days, 20.5 hours.

That impression would be incorrect. It seems that the value entered is divided by 86400 (the number of seconds in a 24 hours) and the modulus (remainder) is the value in seconds assigned to the token. This effectively limits the token lifetime to 86,399 seconds or 23 hours, 59 minutes, 59 seconds.

It would be nice if this information were included somewhere in the configuration window or the accompanying help bubble.

FYI, I only tested this theory with the values 86399, 86400, 86401, 172799, 172800, 172801, but that’s what seems to be happening.

Also, this is Dragonfish-

1 Like

That is an interesting find. Could you use the Report a Bug link above to submit a ticket with what you’ve found in it? That way our engineers can take a look and decide whether the underlying logic needs fixing or to add further clarification in the UI help text.

Issue number NAS-129593.

That’s funny because I literally set it to “86400” and it seems to work for me :-/

Maybe it’s not working in dragonfish…

Try entering 86401 seconds. In dragonfish, the displayed token lifetime becomes 1 second.

Entering 86400 leaves the display field blank. Maybe I made the incorrect assumption that meant zero or whatever the default was.