Passwordless logging in multiple times and failing randomly

Hello, we have just launched passwordless login (with email and magic link) and encountering the following issues:

  • each successful login is followed by a failed login (“Failed Login (wrong password)”), as if the magic link is being reused without the user’s knowledge.

  • when trying passwordless for the first time, some users get stuck in an infinite loop, where they click on the link, but the authentication fails and they end up back on the login page. for the users who experienced this, the issue resolved on its own after multiple attempts. i have not been able to recreate this issue myself, and since the issue seems to magically resolve on its own, there is no way to debug.

I would appreciate any solutions. thank you.