As a result of
OPENAM-8998 the goto URL is now appended during client side user self-service. However if email verification is configured, for example for User Registration or Forgot Password, then the goto is not retained in that scenario. In this case after a new user is registered then the user is sent to their profile page (auto-login selected for 'Destination After Successful Self-Registration' in the USS configuration). This appears to be the expected behaviour at this point as noted in the final comments in OPENAM-8998.
RFE: that the goto should be retained throughout the user registration and forgot password flows, including email verification.
For reference, on current 14 snapshot:
1). Enable USS, email etc to allow self registration.
2). Access OpenAM using the following request (note the goto):
Note that on the Register Your Account page that the 'Return to Login Page' link that's present on the page now includes the goto URL - this was not the case in 13.5, for example:
- 14.0: http://openam.example.com:8080/OpenAM-14.0.0/XUI/#register/&realm=%2F&goto=http://forgerock.com
3). Test entering the email address to send the registration email. The link that is in the email is of the following format:
4). Register the new user and note that the user's profile page is displayed rather than a redirect to the goto.