Hey, I'm using one login per subdomain, but I have one backend instance (user pool shared) what should I setup as website domain in config on backend?
r
rp_st
06/29/2023, 2:15 PM
hey @fdundjer you can set it to be the base domain. You will also need to override the
sendEmail
function in the emailDelivery config (for password reset / magic link / email verification- whicehevr recipe you are using) to dynamically change the domain of the link based on the request object's origin.
SuperTokens is an open source authentication solution offering features like: Different types of login: Email / password, Passwordless (OTP or Magic link based).