feiszli
04/12/2023, 1:52 PMAppInfo: supertokens.AppInfo{
AppName: "Netmaker-Account-Manager",
APIDomain: "https://api.staging.accounts.netmaker.io",
WebsiteDomain: conf.GetFrontendURL(),
APIBasePath: &apiBasePath,
WebsiteBasePath: &websiteBasePath,
},
feiszli
04/12/2023, 1:53 PMrp_st
04/12/2023, 2:50 PMwindow.location.origin
- on the backend, set the cookieSameSite setting in session.init to "none"
- depending on which recipes you are using, override the sendEmail
functions in the recipe to dynamically change the domain of the link in the email to point to the request's origin.