I have one tenant which is being used on multiple domains lets say domain1.com and domain2.com.
I’m sending an email for Email Verification to all users who signs up. How can I specify the redirect-url based on the host url from where user signs up?
For example user-1 signs up from domain1.com and he gets an email. The redirect-url for him should be like domain1.com/redirect-path.
Similarly user-2 signs up from domain2.com and he gets an email. The redirect-url for him should be like domain2.com/redirect-path
I don’t have any reference of the host so How can I make sure to setup correct redirect-url.