otlichnyy
05/23/2022, 12:57 PMjs
supertokens.init({
framework: "express",
supertokens: {
connectionURI:
"https://....-us-east-1.aws.supertokens.io:3573",
apiKey: "...",
},
appInfo: {
appName: "supertoken demo",
apiDomain: "http://localhost:3001",
websiteDomain: "http://localhost:3000", // how to connect with multiple application
},
recipeList: [EmailPassword.init(), Session.init()],
});
here we can only add single website domain to the auth-api.