SAML Session Keeps Expiring Requiring Re Login
Summary
This guide helps you troubleshoot and resolve: SAML Session Keeps Expiring Requiring Re Login. Follow the steps below to fix the issue.
Common Causes
NDIS support workers frequently updating participant rosters in the Apdex portal may experience unexpected SAML session expirations. This forces repeated re-authentication and disrupts roster management workflows. This article explains how to adjust SAML session cache lifetime and cookie persistence settings to maintain continuous access while avoiding conditional access loop errors.
Quick Fix Steps
- Sign in to your identity provider administration console using an account with global administrator privileges.
- Navigate to the SAML application configuration for the Apdex portal.
- Locate the session lifetime settings and increase the token expiry window to match your organisation's security policy.
- Enable persistent cookies for the Apdex relying party trust.
- Save the configuration and test with a support worker account.
Detailed Instructions
Adjust SAML Token Lifetime
- Open your identity provider management portal and select Enterprise Applications.
- Locate the Apdex portal application from the list of SAML integrations.
- Select Single sign-on from the left-hand menu.
- Under SAML token lifetime, enter a value appropriate for support worker shifts, such as 480 minutes.
- Select Save to apply the changes.
Configure Cookie Persistence
- Navigate to Conditional Access policies in your identity provider console.
- Edit or create a policy that applies to the Apdex portal application.
- Under Session controls, select Use sign-in frequency.
- Set the frequency to match your desired re-authentication interval, for example every 24 hours.
- Ensure Persistent browser session is enabled for managed devices.
- Select Save and allow up to 15 minutes for policy replication.
Clear Cached Sessions on Support Worker Devices
- Ask the affected support worker to close all browser windows.
- Instruct them to clear browser cookies and cached data for the Apdex portal domain.
- Have the user sign in again using their NDIS provider credentials.
- Verify that the session remains active across multiple page loads.
Troubleshooting
Conditional Access Loop Errors
If users are caught in a re-authentication loop, the sign-in frequency may be set too low or conflicting policies may be applied. Review all Conditional Access policies assigned to the Apdex portal and ensure no policy requires re-authentication more frequently than the SAML token lifetime allows.
Session Still Expires After Changes
Session settings can take time to propagate across identity provider infrastructure. Wait at least 15 minutes after saving changes before testing again. If the issue persists, confirm that the support worker's device is not using a shared or kiosk browser profile that clears data on exit.
Still Having Issues?
💻 Open a Ticket