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

Allow the confirmation email URL in the Forgotten password service to be a relative path

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.0.0, 13.0.0
    • Fix Version/s: 12.0.3, 13.0.0
    • Component/s: rest
    • Sprint:
      Sprint 84 - Sustaining, Sustaining Sprint 11
    • Support Ticket IDs:

      Description

      If you have two domains that point to OpenAM, you may want to have a confirmation email URL that depends of the domain where you start the request:

      If you send the email from "http://rock.example.com:8080/openam/XUI/#forgotPassword/", you want to have a confirmation URL with the same domain
      http://rock.example.com:8080/openam/XUI/confirm.html?confirmationId=HZ6+fpD2Wq7OwO/0Sbp3wHnpf7E=&tokenId=N+HxlX1hNUIumcVzdiGfeycFf0o=&username=demo&realm=/

      but you also want to be able to use it from the other domain "http://openam.example.com:8080/openam/XUI/#forgotPassword/" and therefore, having a confirmation URL that look like http://openam.example.com:8080/openam/XUI/confirm.html?confirmationId=pT1XtJ3FiKw6Ylt+WCmbs4aC32M=&tokenId=kutn6LOiia6HarCH+OXjisZyUqw=&username=demo&realm=/

      Today, if you define a relative path as a confirmation URL, OpenAM doesn't append the current deployment URL.

      We can imagine that the setting "/XUI/confirm.html" could be valid and represent the relative path.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                quentin.castel Quentin CASTEL [X] (Inactive)
                Reporter:
                quentin.castel Quentin CASTEL [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: