Solved

Configure expire-time of cookie in Indicium

  • 13 March 2024
  • 1 reply
  • 50 views

Userlevel 2
Badge +1

Hi,

 

When logging in to the Indicium GUI, a session token is returned in the form of a cookie (named `.AspNetCore.Identity.Application`) upon successful login.

By default, according to this topic answer, this token is valid for 30 minutes and automatically extended with every request.
However, our users will sometimes not touch the GUI for hours, because they are busy doing work for which they do not require the application.
In this case, having to log in again each and every time you don’t touch the GUI for any amount of time longer than 30 minutes, can get quite annoying.

Is it possible for us to configure the expire time for these tokens, so that they remain valid for a longer amount of time?

 

Thanks in advance!

icon

Best answer by Vincent Doppenberg 13 March 2024, 15:40

View original

1 reply

Userlevel 6
Badge +4

Hello Jeroen,

There is currently no way to configure the cookie expiration time. However, if a user checks the ‘Remember me’ checkbox when logging in, the user will be logged in for up to 14 days of being idle, or until the user logs out. Please note that when this checkbox is checked, the authentication cookie will survive browser restarts as well, so it is less suitable for shared devices because the user would have to explicitly sign out at the end of the session. Some more information can be found in this topic.

If this is not a solution, then please submit an idea to make the expiration time configurable.

Reply