The default setting for AuthAnvil Single Sign On is to keep an authenticated session for 480 minutes. This means that as long as your browser remains open you will stay logged in to the SSO page for 8 hours.
To change this value you will need to update the dbo.SSO_SiteSetting table in the SQL instance where AuthAnvil is installed.
Open up SQL Management Studio and connect to the SQL Instance where AuthAnvil 2FA / SSO is installed
- Expand Databases > Anvil > Tables
- Right-click on dbo.SSO_Setting and select Open Table or Edit Top 200 Rows depending on your version of SQL Management Studio
- Find the row with the "SiteId" matching your AuthAnvil site (usually "1") and follow it over to the "SessionLifeTime" column
- Edit this column to the desired session duration value (in minutes) and hit Enter to save the change