Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-139504

tokens doesn't get propagated to OpenIdConnectSessionProvider when are renewed via refreshToken

    Details

      Description

      Master/7.4: LPS-124898


      When using OpenIdConnect and requiring to get a new accessToken via refreshToken, tokens are created but they aren't propagated to OpenIdConnectSessionProvider thus accessToken is not renewed on the client side.

      Steps to reproduce.

      1. Configure SSO via OpenIdConnect and keycloak
      2. Deploy keycloak.token.test-1.0.0.jar and drop it on a page
      3. Log in using Keycloak (open-id-connect)
      4. An access token is shown in the portlet
      5. Wait 1 minute and refresh the page

      Expected Result:

      AccessToken is different than step 4

      Current Result:

      Access token is the same as in step 4

      Cannot test in master or 7.4 due to https://learn.liferay.com/dxp/latest/en/liferay-internals/reference/7-4-breaking-changes.html#replaced-the-openidconnectservicehandler-interface-with-the-openidconnectauthenticationhandler 

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              jorge.garcia Jorge García Jiménez
              Participants of an Issue:
              Recent user:
              Jose Jimenez
              Engineering Assignee:
              Jorge García Jiménez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 weeks, 4 days ago

                  Packages

                  Version Package
                  7.2.X
                  7.3.X
                  7.4.13 DXP GA1
                  7.4.3.4 CE GA4
                  Master