This topic was originally posted by thienphuoc.huynh on 3/14/2025.
This content has been migrated from our previous community forum to preserve valuable discussions.
Today i dont know why my app could not login via Facebook, pls help me check asap. PLSSSS
chainConfig: {
chainNamespace: CHAIN_NAMESPACES.EIP155,
chainId: process.env.NEXT_PUBLIC_MAIN_NET_CHAINID,
rpcTarget: process.env.NEXT_PUBLIC_RPC_TARGET, // This is the public RPC we have added, please pass on your own endpoint while creating an app
},
mfaLevel: 'none',
// uiConfig refers to the whitelabeling options, which is available only on Growth Plan and above
// Please remove this parameter if you're on the Base Plan
// uiConfig: {
// name: 'Appname',
// logoLight: process.env.NEXT_PUBLIC_URL + '/logo.png',
// logoDark: process.env.NEXT_PUBLIC_URL + '/logo.png',
// defaultLanguage: 'en',
// dark: true, // whether to enable dark mode. defaultValue: false
// loginMethodsOrder: ['apple', 'google', 'twitter'],
// loginGridCol: 1,
// primaryButton: 'socialLogin', // "externalLogin" | "socialLogin" | "emailLogin"
// },
web3AuthNetwork: process.env.NEXT_PUBLIC_NET,
});
await web3auth.initModal();
return web3auth;
// await web3auth.initModal();
// if (web3auth.connected) {
// console.log('web3auth Init connected');
// // setLoggedIn(true);
// }
Before, we had declared that custom setting, but we didn’t use it. The code only used the default one, and it worked fine. Now, we’ve deleted that Facebook app, but for some reason, it’s affecting the login, and we can’t log in with Facebook anymore. Please help check it
this is error messge from FB: The domain of this URL is not included in the application’s domains. To load this URL, please add all domains and subdomains of the application to the App Domains field in your application’s settings.
I tried and still got error flogin via fb. But i try with new client id is OK. Pls check problem with my clientid: BNkriezikGSdwHnsGlIDfGBybrUDeWPs68eQ8RSqsn8u9QCrbyBFmIBQnRpKGr7cqtn9yir8oGC3kuBxHNRGOfk