Sentiaus opened a new pull request, #3731:
URL: https://github.com/apache/texera/pull/3731

   **Description:**
   --
   This PR fixes the negative user experience created by #3625 where users 
would be logged out much more frequently. This was caused by the 
active-detection window being tied to the same variable as the jwt-expiration. 
   
   **Problem**
   --
   In the previous implementation of `active_window` in 
`admin-user.component.ts` used the `expiration-in-minutes` environment variable 
from `auth.conf`.
   
   **Solution**
   --
   Created a new environment variable `active-time-in-minutes` in `gui.conf`, 
`GuiConfig` scala file that replaces the `expiration-time-in-minutes` 
environment variable. This environment variable was preset to `15`, matching 
the desired 15 minute activity period. Additionally, the 
`expiration-in-minutes` variable was changed to `7200` matching the desired 2 
day jwt expiry date.
   
   Fixes #3730 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to