Configuring links for a custom user portal
When using a custom user portal (leveraging the Storeganise API), it’s important to configure the settings correctly to ensure the links in your emails direct customers to your custom domain instead of the base Storeganise portal. Follow the steps below to update your setup.
1. Set up a page to handle the reset password process
The 'reset password' email contains a link to a page where the user sets their new password. In the default Storeganise user app this is at a page like https://yourcompany.storeganise.com/account/reset-password?token=xyz
.
You need to create a page that replicates this functionality by getting the token from the URL and using the API to complete the reset password process; see the Storeganise API docs for more information on this.
The preferred option is to have this page at the same path as the 'default'; e.g. https://www.yourcompany.com/account/reset-password?token=xyz
. If you do this you can skip to step 3.
If your page is at a different URL you'll also need to update the email template; see step 2. for more information.
2. Update the reset password email template
If the reset password link still doesn’t work as expected, update the email template to explicitly include your custom URL.
- Navigate to Main Settings > Emails > Reset Password.
- Update the template content to include a custom link pointing to the reset password page in your customer portal. For example:
<a href="https://yourcompany.com/password-reset?token={{token}}">Reset your password</a>
- Save the changes.
3. Update the URL settings in Storeganise
Please reach out to our team at support@storeganise.com to have this updated with your custom domain. This will ensure that system-generated emails, including the reset password email, use your custom domain.