Registration/Reset Password Email Links

This topic has 4 replies, 2 voices, and was last updated 7 years, 8 months ago by Peter Major.

  • Author
    Posts
  • #3383
     jnadro52
    Participant

    Hello all:

    I’m currently attempting to integrate with the OpenAM REST API in order to send out the emails for the Registration/Reset Password functionality. I’ve gotten it working easily enough, and now I’m trying to add my own email templates.

    The problem is, I cannot seem to find a way to insert the link into the template where I want it. It seems that the link is always just tacked onto the end of the email.

    Is there any way to format this such that I can insert the link wherever I want?

    Thanks in advance

    • This topic was modified 7 years, 8 months ago by jnadro52.
    #3385
     Peter Major
    Moderator
    #3386
     jnadro52
    Participant

    Thank you for your quick response! Forgive my noobishness, first time poster. Can I mark this as resolved or something?

    • This reply was modified 7 years, 8 months ago by jnadro52.
    #3446
     jnadro52
    Participant

    Hello again,

    I have a follow-up question:

    Is it possible for me to prevent OpenAM from sending the email and to get the link (or at least the tokenID and confirmationID) myself so I can send out the email manually? Or is there any other way to accomplish this? I was attempting to figure it out on my own, but short of implementing a registration token system myself, I’m out of ideas.

    #3453
     Peter Major
    Moderator

    You could implement a custom MailServer, but that wouldn’t have direct access to the tokenId/confirmationId (i.e. to the actual link) directly, you would have to parse the message to get the link in your own MailServer. Since you would have your own MailServer, you could just decide not to send those e-mails out, or just send them out in pretty format instead.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

©2022 ForgeRock - we provide an identity and access platform to secure every online relationship for the enterprise market, educational sector and even entire countries. Click to view our privacy policy and terms of use.

Log in with your credentials

Forgot your details?