spoderman
02/03/2023, 2:59 AMsupertokens-auth-react@0.30.2
, using the new ThirdpartyEmailPasswordComponentsOverrideProvider
and overriding the component ThirdPartySignInAndUpCallbackTheme_Override
. It's the only component that I've tried that I just can't get to work. Wondering if this is an issue with this version or if it's something local to me.rp_st
02/03/2023, 5:39 AMrp_st
02/03/2023, 5:40 AMspoderman
02/03/2023, 5:42 AMrp_st
02/03/2023, 5:43 AMspoderman
02/03/2023, 5:52 AMtsx
SuperTokensReact.init({
appInfo: {
appName: "appname",
apiDomain: process.env.NEXT_PUBLIC_SUPERTOKENS_BASE_URL as string,
websiteDomain: process.env.NEXT_PUBLIC_SUPERTOKENS_BASE_URL as string,
apiBasePath: "/api/auth",
websiteBasePath: "/auth",
},
recipeList: [
ThirdPartyEmailPasswordReact.init({
signInAndUpFeature: {
providers,
},
}),
SessionReact.init(),
],
});
rp_st
02/03/2023, 5:53 AMspoderman
02/03/2023, 5:55 AMtsx
<ThirdpartyEmailPasswordComponentsOverrideProvider
components={{
ThirdPartySignInAndUpCallbackTheme_Override: () => (
<div>callback override content</div>
),
}}
>
<SuperTokensComponentNoSSR />
</ThirdpartyEmailPasswordComponentsOverrideProvider>;
Instead of wrapping the entire application, I chose to wrap only the auth slug. I have tested the same code wrapping the entire app with the same results.rp_st
02/03/2023, 5:55 AMporcellus
02/03/2023, 8:34 AMSuperTokensComponentNoSSR
. I'll check this out in more detail and/or try to reproduce it locally a bit later (~1-1.5hr)porcellus
02/03/2023, 10:21 AMspoderman
02/03/2023, 7:36 PMrp_st
02/12/2023, 8:06 AMrp_st
02/12/2023, 8:06 AMspoderman
02/12/2023, 8:09 AM