gusfune
04/29/2021, 2:19 PMrp
04/29/2021, 2:21 PMrp
04/29/2021, 2:21 PMgusfune
04/29/2021, 3:52 PMrp
04/29/2021, 4:00 PMgusfune
04/29/2021, 4:02 PMexport 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:
const appInfo = {
appName: "Off Script",
apiDomain: websiteDomain,
websiteDomain,
apiBasePath: "/api/auth/",
}
WebsiteDomain is my.offscript.io
and offscript.io
according to the domain.rp
04/29/2021, 4:04 PMoffscript.io
gusfune
04/29/2021, 4:22 PMrp
04/29/2021, 4:22 PMgusfune
04/29/2021, 4:35 PMgusfune
04/29/2021, 4:35 PMCross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://my.offscript.io/api/auth/signin. (Reason: CORS request did not succeed).
rp
04/29/2021, 4:37 PMoffscript.io
, the API call will go to https://offscript.io/api/auth/signin
. The login screen is shown on offscript.io
only right?gusfune
04/29/2021, 4:40 PMrp
04/29/2021, 4:48 PMrp
04/29/2021, 4:49 PMrp
04/29/2021, 4:49 PMgusfune
04/29/2021, 4:51 PMrp
04/29/2021, 4:51 PMrp
04/29/2021, 4:51 PMrp
04/29/2021, 4:52 PMgusfune
04/29/2021, 4:54 PM/auth/
as they are private pages. But I can try to redirect them to the main website and then back, I'll give it a try.gusfune
04/29/2021, 5:15 PMrp
04/29/2021, 5:20 PMgusfune
04/29/2021, 5:25 PMgusfune
04/29/2021, 5:26 PMgusfune
04/29/2021, 5:26 PMgusfune
04/29/2021, 5:26 PMrp
04/29/2021, 5:32 PMgusfune
04/29/2021, 5:52 PMgusfune
04/29/2021, 5:52 PMgusfune
04/29/2021, 5:52 PM