Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2: magic-sdk's testMode not working: magic_auth_login_with_email_otp_testing_mode - Method not supported #28

Open
smoove opened this issue Jul 2, 2024 · 0 comments

Comments

@smoove
Copy link

smoove commented Jul 2, 2024

Describe the bug
Enabling testMode in the Magic SDK configuration and trying to login with email OTP throws an error "Method not supported".

This message pops up in the HardHat console when trying to sign in: magic_auth_login_with_email_otp_testing_mode - Method not supported

Config:

[...]
magicSdkConfiguration: {
    testMode: true,
    network: {
        rpcUrl: 'http://localhost:8545',
        chainId: 31337,
    },
},
[...]

It worked fine before upgrading wagmi, viem and the connector to V2.

To Reproduce
Enable testMode and try to login with email OTP.

Expected behavior
Signing in to work.

Desktop (please complete the following information):

  • OS: Arch Linux
  • Browser Brave
  • Version 1.65.114 Chromium: 124.0.6367.60 (Official Build) (64-bit)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant