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

Default timeout to validate OpenIdConnect token may not be long enough

    Details

      Description

      The user is not able to login using OpenID Connect configured with Microsoft Azure because default timeout connection it may be long enough.

      Steps to reproduce:

      1. Configure an OpenID Connect Provider with Microsoft Azure
        1. Go to Control Panel -> Configuration -> System Settings -> SSO -> OpenID Connect Provider and add a new configuration (at the moment of this ticket creation we have a test environment available here)
        2. On Control Panel -> Configuration -> System Settings -> SSO -> OpenID Connect check Enabled and save
      2. Try to login using Open ID

      Expected behavior:
      User can log in

      Actual behavior
      User get an Error

      More info:


      To solve this issue, a new property has been added in the Configuration: SSO - OpenID Connect Provider: Token Connection Timeout in Milliseconds, it sets the amount of time to wait (in milliseconds) when establishing a connection to validate the token before timing out; we have set 1000ms as default to avoid this problem.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gabor.lovas Gábor Lovas
              Reporter:
              marta.medio Marta Medio (Inactive)
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
              Engineering Assignee:
              Marta Medio (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                21 weeks ago

                  Packages

                  Version Package
                  7.1.10 DXP FP25
                  7.1.X
                  7.2.10 DXP FP14
                  7.2.10.5 DXP SP5
                  7.2.X
                  7.3.10 DXP FP1
                  7.3.10.1 DXP SP1
                  7.3.6 CE GA7
                  Master