Change redirect parameter on SSO registration page
Hi guys,
users use SSO (Telekom Login) to sign in to our community. On their first login the will be redirected to the SsoRegistrationPage and have to complete their profile. The SSO registration page URL uses an paramater ("dest_url") to redirect the user to a specific location after submitting the form:
https://riokc95758.stage.lithium.com/t5/user/ssoregistrationpage?dest_url=https%3A%2F%2Friokc95758.stage.lithium.com%2F
Some examples:
- A user writes a new post before logging in the first time, I want the user to be redirected to "postmessageworkflowpage" after leaving SsoRegistrationPage.
- A user gives a Kudo before logging in the first time, I want the user to be redirect to the "Give-Kudo-Workflow-Page" after leaving SsoRegistrationPage.
Is it possible to set the parameter value via the page init scripts? I want the users to be redirected to different locations depending on cookie settings or actions they do before logging in.
Thanks and kind regards,
Christian