Legacy Knowledge Base
Published Sep. 10, 2025

Session timeout problems in Azure related environments

Written By

Richárd Szabácsik

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • OIDC and SAML2 connections with Azure-related services can experience session timeout related problems where the session expires before its intended lifetime.

Environment

  • Liferay DXP 7.2
  • Liferay DXP 7.3

Resolution

  • To resolve issues like this there are a few things that need to be checked:
    1. How is your Azure connection is set up? If there is a session lifetime configured, is it in line with your portal configuration?
    2. On the Liferay side, the following developer blog post will help you configure your session times: How to configure user session timeout in Liferay Portal
    3. You should also check whether your access tokens are used and later refreshed properly.
      You can find the necessary information regarding these token behaviours on the official Microsoft identity platform documentation on the following link: Configurable token lifetimes in the Microsoft identity platform
Did this article resolve your issue ?

Legacy Knowledge Base