<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>OpenID Connect session is not synced with IdP</title>
  <link rel="self" href="https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123200903" />
  <subtitle>OpenID Connect session is not synced with IdP</subtitle>
  <id>https://liferay.dev/de/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=123200903</id>
  <updated>2026-04-18T00:32:36Z</updated>
  <dc:date>2026-04-18T00:32:36Z</dc:date>
  <entry>
    <title>RE: RE: OpenID Connect session is not synced with IdP</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123204446" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123204446</id>
    <updated>2025-01-24T10:42:57Z</updated>
    <published>2025-01-24T10:42:56Z</published>
    <summary type="html">&lt;p&gt;Np Jan, the &amp;quot;&lt;em&gt;Ofline&lt;/em&gt;&amp;quot; may be a bit misleading, indeed.&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2025-01-24T10:42:56Z</dc:date>
  </entry>
  <entry>
    <title>RE: RE: OpenID Connect session is not synced with IdP</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123204501" />
    <author>
      <name>Jan Tošovský</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123204501</id>
    <updated>2025-01-24T10:23:09Z</updated>
    <published>2025-01-24T10:23:09Z</published>
    <summary type="html">&lt;p&gt;I was fooled by the &amp;quot;Offline&amp;quot; prefix of that scheduler
  assuming it was for something else. And partly also by the GitHub
  search highlighter showing just the first few occurrences, but I was
  too impatient and did not seek it further in the remaining code.
  Finally, I assumed incorrectly the scheduler triggers the refresh at
  that configured rate, but it does so only if the original token is
  near expiration. The expiration of the token was greater so I was
  puzzled why the session was not closed. Now I understand.&lt;/p&gt;</summary>
    <dc:creator>Jan Tošovský</dc:creator>
    <dc:date>2025-01-24T10:23:09Z</dc:date>
  </entry>
  <entry>
    <title>RE: OpenID Connect session is not synced with IdP</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123203273" />
    <author>
      <name>Zsigmond Rab</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123203273</id>
    <updated>2025-01-24T10:12:26Z</updated>
    <published>2025-01-23T13:35:31Z</published>
    <summary type="html">&lt;p&gt;Hi Jan,&lt;/p&gt;
&lt;p&gt;The scheduler is registered &lt;a
  href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/portal-security-sso/portal-security-sso-openid-connect-impl/src/main/java/com/liferay/portal/security/sso/openid/connect/internal/session/manager/OfflineOpenIdConnectSessionManager.java#L175-L180"&gt;here&lt;/a&gt;
  and the communication towards the OIDC Provider is triggered &lt;a
  href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/portal-security-sso/portal-security-sso-openid-connect-impl/src/main/java/com/liferay/portal/security/sso/openid/connect/internal/session/manager/OfflineOpenIdConnectSessionManager.java#L428-L432"&gt;here&lt;/a&gt; and
  the communication goes &lt;a
  href="https://github.com/liferay/liferay-portal/blob/master/modules/apps/portal-security-sso/portal-security-sso-openid-connect-impl/src/main/java/com/liferay/portal/security/sso/openid/connect/internal/session/manager/OfflineOpenIdConnectSessionManager.java#L428-L432"&gt;here&lt;/a&gt;.
  The process updates the access token expiration date. Were you looking
  for this?&lt;/p&gt;
&lt;p&gt;Nevertheless, your last sentence suggests that something is not
  working on your side. Does the info above help you to progress in
  investigating the problem?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br&gt; Zsigmond&lt;/p&gt;</summary>
    <dc:creator>Zsigmond Rab</dc:creator>
    <dc:date>2025-01-23T13:35:31Z</dc:date>
  </entry>
  <entry>
    <title>OpenID Connect session is not synced with IdP</title>
    <link rel="alternate" href="https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123200902" />
    <author>
      <name>Jan Tošovský</name>
    </author>
    <id>https://liferay.dev/de/c/message_boards/find_message?p_l_id=119785294&amp;messageId=123200902</id>
    <updated>2025-01-23T06:58:26Z</updated>
    <published>2025-01-22T14:32:22Z</published>
    <summary type="html">&lt;p&gt;When OIDC is enabled, it is possible to configure the refresh
  interval: System Settings | SSO | OpenID Connect | Token Refresh
  Scheduled Interval&lt;/p&gt;
&lt;p&gt;It gives the false assumption the session is regularly synced with
  IdP, however, looking into the LR code I can't see any scheduler
  communicating with IdP (refreshing the token), let alone utilize this
  configured value.&lt;/p&gt;
&lt;p&gt;Now, if the IdP session is closed outside of LR, LR can't detect this
  and logout the user automatically.&lt;/p&gt;</summary>
    <dc:creator>Jan Tošovský</dc:creator>
    <dc:date>2025-01-22T14:32:22Z</dc:date>
  </entry>
</feed>
