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

Backport OPENIDM-11292: Registration autologin with full-stack not working

    Details

    • Target Version/s:
    • Verified Version/s:
    • Support Ticket IDs:

      Description

      Configured full-stack integration and user registration.  Modified selfservice-registration.json to enable auto login.  After user registers and clicks "continue", they are re-directed to the success URL but are not auto logged in.  This was working in 5.5  

      Here is the selfservice-registration.json

      {
         "allInOneRegistration": true,
         "stageConfigs": [
            {
               "name": "parameters",
               "parameterNames": [
                  "returnParams"
               ]
            },
            {
               "name": "idmUserDetails",
               "identityEmailField": "mail",
               "socialRegistrationEnabled": false,
               "registrationProperties": [
                  "userName",
                  "givenName",
                  "sn",
                  "mail"
               ],
               "registrationPreferences": ["updates","marketing"],
               "identityServiceUrl": "managed/user"
            },
            {
               "name": "termsAndConditions",
               "termsTranslations": {
                  "en": "Some fake terms",
                  "fr": "More fake terms"
               }
            },
            {
               "name": "kbaSecurityAnswerDefinitionStage",
               "kbaConfig": null,
               "numberOfAnswersUserMustSet": 2
            },
            {
               "name": "selfRegistration",
               "identityServiceUrl": "managed/user"
            },
            {
               "name": "consent",
               "consentTranslations": {
                  "en": "Please consent to sharing your data with whomever we like.",
                  "fr": "Veuillez accepter le partage de vos données avec ceux que nous souhaitons."
               }
            },
            {
               "name": "openAMAutoLogin",
               "identityUsernameField": "userName",
               "identityPasswordField": "password",
               "openAMBaseUrl": "https://idp.frdpcloud.com/openam/",
               "authenticationEndpoint": "json/realms/root/authenticate",
               "successUrl": "https://idp.frdpcloud.com/apps/frdp"
            }
         ],
         "snapshotToken": {
            "type": "jwt",
            "jweAlgorithm": "RSAES_PKCS1_V1_5",
            "encryptionMethod": "A128CBC_HS256",
            "jwsAlgorithm": "HS256",
            "tokenExpiry": 300
         },
         "storage": "stateless"
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mark.offutt Mark Offutt [X] (Inactive)
                Reporter:
                mark.offutt Mark Offutt [X] (Inactive)
                QA Assignee:
                Jakub Janoska [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: