DavidK
10/28/2022, 11:34 AMnkshah2
10/28/2022, 11:46 AMDavidK
10/28/2022, 11:48 AMimport EmailPassword from "supertokens-node/recipe/emailpassword";
import Session from "supertokens-node/recipe/session";
import { TypeInput } from "supertokens-node/types";
import Dashboard from "supertokens-node/recipe/dashboard";
export const SuperTokensConfig: TypeInput = {
supertokens: {
// this is the location of the SuperTokens core.
connectionURI: "https://2c93283155d511ed82687d99624be41d-eu-west-1.aws.supertokens.io:3573",
// connectionURI: "http://localhost:3567",
apiKey: "jLc-owsMYZMSzGSdo5PKnvZsnoQz8J"
},
appInfo: {
appName: "todo-lista",
apiDomain: "http://localhost:3001",
websiteDomain: "http://localhost:3000",
apiBasePath: "/authapi",
websiteBasePath: "/todolist",
},
// recipeList contains all the modules that you want to
// use from SuperTokens. See the full list here: https://supertokens.com/docs/guides
recipeList: [
EmailPassword.init(),
Session.init(),
Dashboard.init({
apiKey: "jLc-owsMYZMSzGSdo5PKnvZsnoQz8J"
}),
],
};
DavidK
10/28/2022, 11:49 AMimport EmailPassword from "supertokens-auth-react/recipe/emailpassword";
import Session from "supertokens-auth-react/recipe/session";
export const SuperTokensConfig = {
appInfo: {
appName: "SuperTokens Demo App",
apiDomain: "http://localhost:3000",
websiteDomain: "http://localhost:3000",
},
// recipeList contains all the modules that you want to
// use from SuperTokens. See the full list here: https://supertokens.com/docs/guides
recipeList: [EmailPassword.init(), Session.init()],
};
nkshah2
10/28/2022, 11:50 AMapiDomain: "http://localhost:3000"
Should use port 3001nkshah2
10/28/2022, 11:51 AMapiDomain: "http://localhost:3001"
nkshah2
10/28/2022, 11:52 AMDavidK
10/28/2022, 12:03 PMDavidK
10/28/2022, 12:04 PMrp_st
10/28/2022, 12:25 PMrp_st
10/28/2022, 12:26 PMDavidK
10/28/2022, 12:34 PMDavidK
10/28/2022, 12:35 PMrp_st
10/28/2022, 12:36 PMrp_st
10/28/2022, 12:36 PMDavidK
10/28/2022, 12:37 PMrp_st
10/28/2022, 12:38 PMDavidK
10/28/2022, 12:38 PMrp_st
10/28/2022, 12:39 PMmysql_connection_uri
is commented out in the filerp_st
10/28/2022, 12:39 PM#
before that config and restart the coreDavidK
10/28/2022, 12:52 PMrp_st
10/28/2022, 12:53 PMDavidK
10/28/2022, 12:53 PMDavidK
10/28/2022, 12:53 PMrp_st
10/28/2022, 12:54 PMDavidK
10/28/2022, 12:55 PMrp_st
10/28/2022, 12:55 PMDavidK
10/28/2022, 12:56 PMDavidK
10/28/2022, 12:57 PMrp_st
10/28/2022, 12:57 PMDavidK
10/28/2022, 12:58 PMDavidK
10/28/2022, 12:58 PMrp_st
10/28/2022, 12:58 PMDavidK
10/28/2022, 12:58 PMrp_st
10/28/2022, 12:58 PMrp_st
10/28/2022, 12:58 PMrp_st
10/28/2022, 12:59 PMDavidK
10/28/2022, 1:00 PMDavidK
10/28/2022, 1:01 PMDavidK
10/28/2022, 1:01 PMDavidK
10/28/2022, 1:01 PMDavidK
10/28/2022, 1:05 PMrp_st
10/28/2022, 1:14 PMrp_st
10/28/2022, 1:14 PMDavidK
10/28/2022, 1:15 PMDavidK
10/28/2022, 1:15 PMrp_st
10/28/2022, 1:16 PMDavidK
10/28/2022, 1:17 PMrp_st
10/28/2022, 1:17 PMDavidK
10/28/2022, 1:18 PMDavidK
10/28/2022, 1:18 PMrp_st
10/28/2022, 1:22 PMDavidK
10/28/2022, 1:23 PM