https://supertokens.com/ logo
#support-questions
Title
# support-questions
r

rp

01/06/2022, 4:41 AM
So what you will need to do is: 1) to set the
websiteDomain
in the backend init function to be your top level website domain 2) On the frontend, the
websiteDomain
should be your current domain. 3) The provide the
getResetPasswordURL
and
getEmailVerificationURL
callbacks to the backend init function to return the correct URL based on if the user is a dev user or a prod user. This should solve your issue.