https://supertokens.com/ logo
Title
c

CheezGarlick

12/20/2022, 5:41 AM
err := supertokens.Init(supertokens.TypeInput{ Supertokens: &supertokens.ConnectionInfo{ // https://try.supertokens.com is for demo purposes. Replace this with the address of your core instance (sign up on supertokens.com), or self host a core. ConnectionURI: "https://try.supertokens.com", // APIKey: , }, AppInfo: supertokens.AppInfo{ AppName: "Amigo", APIDomain: "https://app.tryamigo.com", WebsiteDomain: "https://tryamigo.com", APIBasePath: &apiBasePath, WebsiteBasePath: &websiteBasePath, }, RecipeList: []supertokens.Recipe{ thirdpartyemailpassword.Init(&tpepmodels.TypeInput{/*TODO: See next step*/}), session.Init(nil), // initializes session features }, }) hello, can I provide multiple website domains here? if yes, how can I go about it?
n

nkshah2

12/20/2022, 5:42 AM
Hi
At the moment you can only pass one website domain
If you want to share sessions across subdomains then that is possible
I can help more if you can explain what you are trying to do
c

CheezGarlick

12/20/2022, 5:44 AM
yes, want to share sessions across all subdomains of tryamigo.com