You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
magic-sdk version 9 up works on local NextJS dev server. But when deployed to Vercel, it stops working. I had to downgrade to version 4.1.0 to get it to work.
🧩 Steps to Reproduce
Create NextJS app
Install magic-sdk 9.1.0 or newer
Implement email/sms login
Deploy to vercel
Open vercel deployment
It will be able to send you magic link via email or sms code, but after authentication, the app crashes
Optionally, downgrade to 4.1.0
Redeploy to vercel
Should work as expected
🤔 Expected behavior
Code after authentication (getting did) should execute as it does on version 4.1.0
😮 Actual behavior
Code after authentication (clicking a magic link or submitting SMS code) is not executed
🐛 Description
magic-sdk version 9 up works on local NextJS dev server. But when deployed to Vercel, it stops working. I had to downgrade to version 4.1.0 to get it to work.
🧩 Steps to Reproduce
🤔 Expected behavior
Code after authentication (getting did) should execute as it does on version 4.1.0
😮 Actual behavior
Code after authentication (clicking a magic link or submitting SMS code) is not executed
💻 Code Sample
Your example nextjs app can replicate the issue if you upgrade the magic-sdk package version to 9.1.0 or newer
(https://github.com/magiclabs/example-nextjs)
🌎 Environment
magic-sdk
The text was updated successfully, but these errors were encountered: