(SMS Login) Magic Link User -> Moralis User

Iā€™d like to use Magic Login for my Moralis project, but it looks like the only supported option is email login. I want to use the Magic UI and modal, as well as their SMS login.

Ideally, there would be something like:

magicUser = magic.auth.loginWithSMS()
authenticate(magicUser)

Is there a custom provider that I could use to add Magic users to my Moralis database?

My project is in React / Typescript.

You will need to customize the Magic connector and then use that.

I want to use the Magic UI and modal

Which UI/modal are you referring to? All Magic.Link demos seem to use their own styling/inputs for integrating with the Magic SDK.

1 Like