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

Provide a way for the /selfservice/userRegistration to pass email message body at runtime

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 13.5.0, 14.0.0
    • Fix Version/s: None
    • Component/s: self-service
    • Labels:
    • Target Version/s:
    • Rank:
      1|hzthfj:
    • Support Ticket IDs:

      Description

      The legacy REST API provided a way for messages to be passed at runtime easily via:

      $ curl \
      --request POST \
      --header "Content-Type: application/json" \
      --header "Accept-API-Version: protocol=1.0,resource=2.0" \
      --data \
      '{
          "email": "newuser@example.com",
          "subject": "Confirm registration with OpenAM",
          "message": "Follow this link to confirm your registration"
      }' \
      https://openam.example.com:8443/openam/json/users?_action=register
      {}
      

      With this now deprecated it is not possible unless you create a custom UserRegistrationConfigProvider and at the moment there is no documentation on how to do this specifically (there is not a mention how to do it here either: https://forum.forgerock.com/2016/07/custom-stages-user-self-service/).

      Many users use this feature when generating dynamic content within the message for self service registration. The outgoing email message in the self service configuration is now set for every email.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jeremy.cocks Jeremy Cocks
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: