Magic Migration Guide
Magic Account Setup
Visit Magic and sign up for an account.
Add your public key to the .env
You can find your publishable API key in the Home section of the Magic dashboard.
Install magic-sdk and chord-magic
Create a Magic client
Visit the file where you wrap your app in ChordProvider and add a magicClient:
Then, pass the magicClient to the auth prop of the ChordProvider:
Add a LoginForm component
Try it out
Visit your login page and try logging in using a magic link!
Updated 03 Mar 2023
Did this page help you?