Hello guys, Something weird is going on: Im trying...
# ory-network
b
Hello guys, Something weird is going on: Im trying to login and after login, it redirects me to login and ask me for ‘Please confirm this action by verifying that it is you.’ and it’s just a loop. I can’t login.
h
on console.ory.sh?
b
No, I have a local nextjs connected to ory.sh
Also if I register it won’t login
Just redirecting me to ‘Please confirm this action by verifying that it is you.’
h
can you try to clear the cookies for your domain?
are you by any chance playing around with MFA?
b
Tried 3 times in incognito
Im not
h
for all accounts or just one account in particular?
b
for all accounts + new accounts
t
I've just come here to ask this exact same question too 👀
h
are you using one of the example repos, or your own code?
can you share the URLs of your projects?
b
h
thanks, at least for the managed UI i can not reproduce such an issue, so it appears to be isolated to nextjs. what code are you using for this?
b
I just integrated the example in my project
Nothing else
h
which example? could you give me the link?
b
h
do you have mfa enabled or disabled?
b
It is disabled
h
Hm, I just ran:
Copy code
git clone <https://github.com/ory/kratos-selfservice-ui-react-nextjs.git>
cd kratos-selfservice-ui-react-nextjs
npm i
export ORY_SDK_URL=<https://trusting-ganguly-v2mftf4988.projects.oryapis.com>
npm run start
but login works well for me. can you try these steps and tell me if you still have issues?
b
Yes, give me few minutes
But
I registered using managed ui
And I can’t see the user
Ahh no
Its the pagination .. sorry
Testing now
h
kk i have to leave in ~5 minutes
b
Hmm
Works
h
if it works in the example try to work from there and see where the problem happens comared to your code base. when using incognito, it’s also important to close all incongito windows for the browser to get a new session
b
I know, I also deleted cookies to be sure its not from them
I’ll have a deeper look
h
a common mistake might be that the request to
/session/whoami
goes not to localhost but to oryapis.com - can you check whether that’s the case in your app? in chrom dev tools, network tab, you should see
GET <http://localhost/sessions/whoami>
b
Seems to be good
I think its a bug on my side