[Error] Failed to connect with openlogin provider on "safari,ıphone "

while users try login with ıphone safari  getting errror  

@web3-react/core”: “^8.2.0”,
@web3-react/injected-connector”: “^6.0.7”,
@web3auth/base-provider”: “^7.2.0”,
@web3auth/ethereum-provider”: “^7.2.0”,
@web3auth/modal”: “^7.3.2”,
@web3auth/no-modal”: “^7.2.0”,
@web3auth/openlogin-adapter”: “^7.2.0”,
@web3auth/solana-provider”: “^7.2.0”,
@web3auth/torus-wallet-connector-plugin”: “^7.2.1”,
here is my code
const loginWithEmail = async (values) => {
try {
setLoading(true);
if (!web3auth) {
setLoading(false);
uiConsole(“web3auth not initialized yet”);
return;
}
const web3authProvider = await web3auth.connectTo(
WALLET_ADAPTERS.OPENLOGIN,
{
loginProvider: “email_passwordless”,
extraLoginOptions: {
login_hint: values.email,
},
}
);
setProvider(web3authProvider);
setLoggedIn(true);
setLoading(false);
} catch (error) {
setLoading(false);
}
};

@bayroyasar Welcome Aboard!

Can you share your Dapp URL to check from our side?

@bayroyasar Are using Popup mode where you see this issue? Please see here , how redirect mode is selected instead of popup. If your user base has a lot of safari users, please use redirect instead of popup.

const openloginAdapter = new OpenloginAdapter({
          adapterSettings: {
            uxMode: "redirect", // "popup", "redirect"
            // ...
1 Like

Thank you for your help

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.