External links and Cancel location
Last updated
Last updated
On your Fortified ID Integrity WEB you like to add links to external URLs outside. Here are some reasons.
On e.g. the authenticator UserNameAndPassword you like to change the Cancel link to "Forgot your password". Instead of using the default behaviour of Cancel you like the user to be sent to the Password Reset application.
On the authentication page you like to use a use one selector to create a user object, based on the authentication from e.g. BankID. Below will Sign in link internally and Create account will link externally.
By default a Cancel click will take the user back on the Integrity WEB where they started. The behavior can be changed so the user is redirected to an external link and it is possible to change the text Cancel to something more appropriate.
To change the text from Cancel to Forgot your password for example. Open the lang-file, e.g. en.lang, and change the following string to:
Change the value to an empty string. see below.
Open config.json and find the authenticator where you like to change the Cancel link to an external link. Add the following parameter: "cancel_location": "https://dev.fortifiedid.se/pwdreset/", See example below for the UserNameAndPassword authenticator.
There are two things you can change:
Make a selector to use an external link
Make the selector component look like an link
Below is an selector where id 2 will redirect to an external link. Following parameter is added: "url": "https://dev.fortifiedid.se/forms/self_registration" Note, above will send the user to another SP that will redirect the user back to the IdP. But the request is now initiated by the new SP. Note 2, id 1 link to a target in the same configuration file.
Add the parameter: "type": "link"
Result will look like: