Share via

to reduce SSO refresh Token duration in Application

mrunal kherade 0 Reputation points
2026-03-25T06:41:46.5266667+00:00

How can I reduce the duration of SSO refresh tokens in sophos Firewall application which is used for internet access for users across the tenant

Microsoft Security | Microsoft Entra | Other
0 comments No comments

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2026-03-25T06:42:02.1266667+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Refresh token lifetimes for Microsoft Entra ID (used behind SSO to Sophos or any other app) cannot be reduced or customized anymore. Microsoft Entra always issues refresh tokens with the platform defaults, and those values are not configurable per application.

    Key points from the platform behavior:

    1. Default refresh token lifetimes
      • 24 hours for single-page applications (redirect URI registered as spa).
      • 24 hours for apps using email one-time passcode flow.
      • 90 days for all other scenarios. These values apply regardless of the downstream application (such as Sophos Firewall) consuming Entra-issued tokens.
    2. Refresh token lifetime policies are retired
      • Token lifetime policies for refresh tokens and session tokens are no longer honored.
      • As of January 30, 2021, new refresh tokens always use the default configuration.
      • Existing refresh tokens keep their original lifetime until they expire, then new ones follow the defaults.
      • Only access, SAML, and ID token lifetimes remain configurable.
    3. What can still be controlled
      • Access, SAML, and ID token lifetimes can be adjusted via configurable token lifetime policies and assigned to apps.
      • To control how often users must sign in again (for SSO scenarios), use Conditional Access sign-in frequency and session management rather than trying to shorten refresh token lifetimes.
    4. Recommended approach for your scenario
      • It is not possible to directly reduce the SSO refresh token duration for the Sophos Firewall application via Entra ID.
      • To effectively shorten SSO duration for users:
        • Configure sign-in frequency and session controls in Conditional Access so users are required to reauthenticate more often.
        • Optionally adjust access/ID token lifetimes for the application if needed, understanding that refresh tokens will still follow platform defaults.

    There is no supported way in Microsoft Entra ID to make refresh tokens themselves expire more quickly for a specific application such as Sophos Firewall.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.