import ThirdPartyEmailPassword, { Google, Github, } from "supertokens-auth-react/recipe/thirdpartyemailpassword"; import Session from "supertokens-auth-react/recipe/session"; export const frontendConfig = () => { const appUrl = process.env.NEXT_PUBLIC_APP_URL || "https://app.vibnai.com"; return { appInfo: { appName: "Vib'n", apiDomain: appUrl, websiteDomain: appUrl, apiBasePath: "/api/auth", websiteBasePath: "/auth", }, recipeList: [ ThirdPartyEmailPassword.init({ signInAndUpFeature: { providers: [ Google.init(), Github.init(), ], }, }), Session.init(), ], }; };