https://supertokens.com/ logo
#support-questions
Title
# support-questions
g

gusfune

04/29/2021, 4:02 PM
Front-end config:
Copy code
export const frontendConfig = () => {
  return {
    useReactRouterDom: false,
    appInfo,
    recipeList: [
      Session.init({
        sessionScope: ".offscript.io",
      }),
      ThirdPartyEmailPasswordReact.init({
        signInAndUpFeature: {
          providers: [
            ThirdPartyEmailPasswordReact.Google.init(),
            ThirdPartyEmailPasswordReact.Facebook.init(),
          ],
      }),
      SessionReact.init(),
    ],
  }
}
Also appinfo is:
Copy code
const appInfo = {
  appName: "Off Script",
  apiDomain: websiteDomain,
  websiteDomain,
  apiBasePath: "/api/auth/",
}
WebsiteDomain is
my.offscript.io
and
offscript.io
according to the domain.