Uploaded image for project: 'OpenIDM'
  1. OpenIDM
  2. OPENIDM-12796

jsonstorage "local" self-service with "uuid" option fails in multi-node cluster scenario

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: OpenIDM 5.5.0, 6.5.0, 6.0.0.4
    • Fix Version/s: 7.0.0
    • Component/s: Module - SelfService
    • Labels:
      None
    • Verified Version/s:
    • Support Ticket IDs:

      Description

      Description

      The jsonstorage "local" self-service with "uuid" option fails in multi-node cluster scenario.

       

      To reproduce

      0). Set up and configure a two node IDM cluster for self-service registration and password reset.  As part of this configure the following (reference OPENIDM-6701) to enable local (repo) storage:

      "snapshotToken" : {
              "type" : "uuid",
      ...
       "storage" : "local" 

      1). Initiate user registration on node 1
      2). Receive email with short token format
      3). Adjust verification URL to use the port for node 2
      4). Paste that URL into the browser and note the exception on node 2:

      [152] Mar 11, 2019 12:22:27.187 PM org.forgerock.selfservice.core.AnonymousProcessService logAndAdaptException
      FINE: Resource exception intercepted
      org.forgerock.json.resource.BadRequestException: Invalid token
      	at org.forgerock.selfservice.core.AnonymousProcessService.progressProcess(AnonymousProcessService.java:194)
      	at org.forgerock.selfservice.core.AnonymousProcessService.handleAction(AnonymousProcessService.java:115)
      	at org.forgerock.openidm.selfservice.impl.SelfServiceProcessHandler.handleAction(SelfServiceProcessHandler.java:218)
      	at org.forgerock.json.resource.Router.handleAction(Router.java:251)
      ... 

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.offutt Mark Offutt
                Reporter:
                andy.itter Andy Itter
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: