Mail with Password Reset has wrong URL
-
Hello FusionAuth Community,
I integrated FusionAuto to my vServer and setup an SMTP Mail Server.
Everything works just fine, but when I send a password reset request, the mail looks like this:To change your password click on the following link.
http://localhost:9011/password/change/9dyDHn5mBYAd3RAWaJNyYSKx2sNMUqEog2Pz1Ylnxdk?client_id=3c219e58-ed3e-4b18-ad48-f4f92793ae32&tenantId=903bf394-c2f5-f44d-888e-8e911fbb4096&code_challenge=UoQM8f0ULpoqgxwZ5CAeqyMoXv3ZwB0WcJZFBUcF8tw&code_challenge_method=S256&metaData.device.name=Windows Chrome&metaData.device.type=BROWSER&redirect_uri=%2Fadmin%2Flogin&response_type=code&scope=offline_access&state=aw1gFvAvZ6CP3FdEWr3yTnCBINlQ5eIDK57k9ZZcOlQ&timezone=Europe%2FBerlin- FusionAuth Admin
But localhost is wrong my server runs on login.ruffyg.de and the fusionauth on login.ruffyg.de:9011
How can I change this? I would be grateful for every answer!
-
Thanks for the question - you will need to update the email template that you are sending to reflect the correct host.
Customizations > Email Templates > Your Template
Also, please upvote these two related issues, if they would serve to further your use case above.
https://github.com/FusionAuth/fusionauth-issues/issues/88
https://github.com/FusionAuth/fusionauth-issues/issues/457Thanks,
Josh