Open jalaguerom opened 8 months ago
I am also receiving this error, but I've noticed that it only occurs when the LastPass extension is present. There may be other extensions that trigger this behavior as well, though I haven't run into them. When I disable the extension, the login modal appears correctly.
Note: other password extensions, such as 1password, seem to play nicely with magic sdk
"@remix-run/node": "^2.10.2", "@remix-run/react": "^2.10.2", "@remix-run/serve": "^2.10.2", "magic-sdk": "^28.0.3",
linux/mac chrome/brave/chromium
✅ Prerequisites
magic-sdk
)?❓ Question
I have a NextJS (v13.5.1) application. I installed magic-sdk (v22.0.0) and the extension for oauth (v16.0.0). In a route whose pathname is
/es/dummy
I start oauth flow usingWhen I come into post-login route, I use
await magic.oauth.getRedirectResult();
and the response forawait magic.user.isLoggedIn();
is true, so it is working as expected. I manage user info and redirect to another route/es/profile/verify
from/post-login
if user is not verified by my backend. When I visit/es/profile/verify
route, I useawait magic.user.isLoggedIn();
but I receive an error identified as ModalNotReady. I read the documentation related to this error but I cannot clarify what happens. Can someone help me?🌎 Environment
magic-sdk
npm
@magic-ext/oauth