App Specific Password Reset Email Templates

Hi,

I am banging my head on the desk trying to find a way to get this to work but don’t seem to be able to find a way of doing it.

I have two apps running essentially the same service which is attached to the same db. both apps reside on their own domains and user login, activation and password reset is handled by these apps using the REST api. however I can’t find a way of passing the app url to the the email template so if a user requests a password reset on domainA.com they get an email containing the url domainA.com/password_reset and if a user requests a password reset on domainB.com they get an email containing the url domainB.com/password_reset.

Can anyone offer suggestion on how to achieve this?

Thanks