Closed PovedaAqui closed 1 year ago
Hi. I had the same issue. I think the issue is due to an update of magicSDK.
In my case, I changed
await magic.auth.loginWithEmailOTP({ email: output.email, });
in lines 76~78 of magicConnectConnector.ts to
await magic.wallet.connectWithUI();
and the issue was solved at least.
I'm sure other parts need to be fixed, but at least it works. I hope this helps you.
I just got a response from the Magic's Team:
We did recently change the naming convention of the Magic Connect methods to magic.wallet
Okay so what do we need to do to fix this?
Update to the latest dependency using either yarn or npm, it should be working again #55
npm install @everipedia/wagmi-magic-connector@latest
Describe the bug A clear and concise description of what the bug is.
When I logging using email, I get UserRejectedRequestError
Additional context Add any other context about the problem here.
I've asked Magic.Link support and they said the problem is unlikely to be happening from their side.
package.json
MagicConnector.js