Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-11181

CLONE - Default user self service encryption and signing keys are not accepted

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 13.5.1
    • Fix Version/s: 13.5.1
    • Component/s: self-service
    • Labels:
    • Environment:
      OpenAM 13.5.1 RC2
    • Target Version/s:
    • Rank:
      1|hzti5r:
    • Sprint:
      AM Sustaining Sprint 38
    • Story Points:
      2

      Description

      curl 'http://amrwalktest.internal.forgerock.com/openam/json/realms/root/realm-config/services/selfService' -X PUT -H 'Accept-API-Version: protocol=1.0,resource=1.0' -H 'Pragma: no-cache' -H 'Origin: http://amrwalktest.internal.forgerock.com' -H 'Accept-Encoding: gzip, deflate, sdch' -H 'Accept-Language: en-US,en;q=0.8' -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36' -H 'Content-Type: application/json' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Cache-Control: no-cache' -H 'X-Requested-With: XMLHttpRequest' -H 'Cookie: JSESSIONID=A9E9A184D80E17DD1B126AA6A3278243; SERVERID=01; i18next=en-US; amlbcookie=01; iPlanetDirectoryPro=AQIC5wM2LY4SfcxLzYvJoRVJOyRZRBfMIyu-FcSxH1hiLVA.*AAJTSQACMDEAAlNLABQtMjI4NjY1MzA0NDkzODY4OTIxOQACUzEAAA..*' -H 'Connection: keep-alive' -H 'Referer: http://amrwalktest.internal.forgerock.com/openam/XUI/' --data-binary $'{"advancedConfig":{"forgottenUsernameServiceConfigClass":"org.forgerock.openam.selfservice.config.flows.ForgottenUsernameConfigProvider","userRegistrationServiceConfigClass":"org.forgerock.openam.selfservice.config.flows.UserRegistrationConfigProvider","forgottenPasswordServiceConfigClass":"org.forgerock.openam.selfservice.config.flows.ForgottenPasswordConfigProvider","forgottenPasswordConfirmationUrl":"http://amrwalktest.internal.forgerock.com:18080/openam/XUI/#passwordReset/","userRegistrationConfirmationUrl":"http://amrwalktest.internal.forgerock.com:18080/openam/XUI/#register/"},"forgottenPassword":{"forgottenPasswordCaptchaEnabled":false,"forgottenPasswordEnabled":true,"forgottenPasswordEmailVerificationEnabled":true,"forgottenPasswordEmailSubject":["en|Forgotten password email"],"forgottenPasswordKbaEnabled":false,"forgottenPasswordEmailBody":["en|<h2>Click on this <a href=\\"%link%\\">link</a> to reset your password.</h2>"],"forgottenPasswordTokenTTL":900},"forgottenUsername":{"forgottenUsernameKbaEnabled":false,"forgottenUsernameEmailBody":["en|<h2>Your username is <span style=\\"color:blue\\">%username%</span>.</h2>"],"forgottenUsernameCaptchaEnabled":false,"forgottenUsernameEnabled":false,"forgottenUsernameShowUsernameEnabled":false,"forgottenUsernameEmailUsernameEnabled":true,"forgottenUsernameTokenTTL":900,"forgottenUsernameEmailSubject":["en|Forgotten username email"]},"generalConfig":{"captchaSecretKey":"","captchaVerificationUrl":"https://www.google.com/recaptcha/api/siteverify","signingSecretKeyAlias":"selfservicesigntest","minimumAnswersToVerify":1,"captchaSiteKey":"","encryptionKeyPairAlias":"selfserviceenctest","kbaQuestions":["4|en|What is your mother\'s maiden name?","3|en|What was the name of your childhood pet?","2|en|What was the model of your first car?","1|en|What is the name of your favourite restaurant?"],"validQueryAttributes":["uid","mail","givenName","sn"],"minimumAnswersToDefine":1},"userRegistration":{"userRegistrationKbaEnabled":false,"userRegistrationEmailVerificationEnabled":true,"userRegistrationEmailBody":["en|<h2>Click on this <a href=\\"%link%\\">link</a> to register.</h2>"],"userRegisteredDestination":"default","userRegistrationEnabled":false,"userRegistrationTokenTTL":900,"userRegistrationEmailSubject":["en|Registration email"],"userRegistrationCaptchaEnabled":false,"userRegistrationValidUserAttributes":["userPassword","mail","givenName","kbaInfo","inetUserStatus","sn","username"]},"profileManagement":{"profileProtectedUserAttributes":[]},"_id":"","_type":{"_id":"selfService","name":"User Self Service","collection":false}}' --compressed
      
      {
      "code":400,
      "reason":"Bad Request",
      "message":"Data validation failed for the attribute, selfServiceSigningSecretKeyAlias"
      }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jonthomas Jonathan Thomas
                Reporter:
                joanna.wasilewska Joanna Wasilewska [X] (Inactive)
                QA Assignee:
                Joanna Wasilewska [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: