https://supertokens.com/ logo
#general
Title
# general
r

rp

07/26/2021, 5:22 AM
@User , one correction from what I had said previously: For the backend, you would not need to call the
init
function just once per lambda function load (which will solve the cold start problem for 15 mins since the lambda function would be alive for 15 mins). You would instead have to provide some callbacks in the init function which determine the tenant's website domain (for email verification + password reset links). Like here: https://github.com/supertokens/supertokens-auth-react/blob/master/examples/with-one-login-per-subdomain/api-server.js