Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-22329

Fix OAuth2 authentication in cluster

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.10
    • Fix Version/s: 9.2
    • Component/s: OAuth

      Description

      After calling /oauth2/authorization, the AuthorizationRequest are stored in AuthorizationRequest#requests which is a static Map.

      When calling /oauth2/token, we retrieve the AuthorizationRequest from the Map given the authoriation code.
      => If the call /oauth2/token is done on another node, the AuthorizationRequest does not exist.

      AuthorizationRequest should probably be stored in Redis to avoid any issue.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 week, 1 day
                  1w 1d

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.