I have implemented the approach to remove the tenant selector as shown in the sample at SignInWithoutSpecifyingTenant. While the code works as expected and the tenant selector is successfully removed, I am encountering an issue with user sessions. Users are not staying logged in for an extended period, typically being logged out after 20-30 minutes of activity. This requires frequent re-logins, approximately a couple of times per hour.
Steps to Reproduce
- Followed the implementation as per the SignInWithoutSpecifyingTenant sample.
- Successfully removed the tenant selector.
- Logged into the application.
- After 20-30 minutes of usage, the session expires, and the user is logged out.
Environment
- ABP Framework version: 7.4.0
- User's browser and version: Firefox 121.0.1
- Server environment (e.g., Windows/Linux, .NET Core version): Windows 11
How do I control the duration of the session? Ideally I would like the session to last at least a day. @maliming, is this something you can help me with?