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
Did you perform a cursory search of open issues? Is this question already asked elsewhere?
Are you reporting to the correct repository (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 using
When I come into post-login route, I use await magic.oauth.getRedirectResult(); and the response for await 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 use await 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
Software
Version(s)
magic-sdk
22.0.0
Chrome
120.0.6099.234
npm
8.1.0
MacOS
Sonoma 14.2.1
@magic-ext/oauth
16.0.0
NextJS
13.5.1
The text was updated successfully, but these errors were encountered:
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
✅ 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
The text was updated successfully, but these errors were encountered: