Archived Content from Web3Auth Community
This topic was originally posted by dean.dev on 9/25/2024.
This content has been migrated from our previous community forum to preserve valuable discussions.
I need help as Facebook and Instagram are causing issues for my app
Below is a screenshot of the error which occurs when a user attempts to log in using facebook for Oauth.
- SDK Version(package.json): 9.0.2
- Platform: Chrome Macbook Pro
- Browser Console Screenshots:
Web3Auth Initialisation below:
const web3AuthOptions: Web3AuthOptions = { clientId, web3AuthNetwork: WEB3AUTH_NETWORK.CYAN, uiConfig: { uxMode: "", appName: "*****", appUrl: "https://web3auth.io/", theme: { primary: "#7ed6df", }, logoLight: "https://web3auth.io/images/web3authlogodark.png", logoDark: "https://web3auth.io/images/web3authlogodark.png", defaultLanguage: "en", // en, de, ja, ko, zh, es, fr, pt, nl, tr mode: "auto", // whether to enable dark mode. defaultValue: auto useLogoLoader: true, }, privateKeyProvider, sessionTime: 86400, // 1 day }
this.web3auth = new Web3Auth(web3AuthOptions);
this.openloginAdapter = new OpenloginAdapter({
loginSettings: {
mfaLevel: “none”,
extraLoginOptions: {
flow_type: “link”,
},
},
adapterSettings: {
uxMode: “redirect”,
whiteLabel: {
appName: “*****”,
defaultLanguage: “en”,
mode: “dark”,
logoLight: “https://web3auth.io/images/web3authlogodark.png”,
logoDark: “https://web3auth.io/images/web3authlogodark.png”,
},
},
});
this.web3auth.configureAdapter(this.openloginAdapter);
