401 Unauthorized on login with email + code

On the login screen - for a few devices, as we enter the email address it return 401 unauthorized while others get the login code in their emails
10 Replies
Oli - Kinde
Oli - Kinde4mo ago
Hey @Ravi Sohal, This sounds like an odd issue. What SDK (and version) are you using? Are these mobile devices or laptop devices? Are you able to send over a recording of when a user experiences this 401 error?
Ravi Sohal
Ravi SohalOP4mo ago
HI @Oli - Kinde, This is on both mobile and desktop. SDK used is
"@kinde-oss/kinde-auth-nextjs": "^2.2.13"
"@kinde-oss/kinde-auth-nextjs": "^2.2.13"
Ravi Sohal
Ravi SohalOP4mo ago
Land Search & Rescue Portal
A LandSAR device management software
Ravi Sohal
Ravi SohalOP4mo ago
I will capture further information and screenshots from users who are experiencing it and share it with you here me and some users do not have issues logging in and receiving the code but few others do which makes it difficult to find the root cause. those with issues mentioned getting stuck with the loader after they click on continue on the page where they are asked for their email address
Ravi Sohal
Ravi SohalOP4mo ago
btw this is deployed on https://railway.app
Railway
Railway
Railway is an infrastructure platform where you can provision infrastructure, develop with that infrastructure locally, and then deploy to the cloud.
Ravi Sohal
Ravi SohalOP4mo ago
here are some screenshots
No description
No description
No description
No description
No description
Ravi Sohal
Ravi SohalOP4mo ago
with the same email address, i can login on my and family devices same goes with many other users
Oli - Kinde
Oli - Kinde4mo ago
Hey @Ravi Sohal, Thanks for sharing the details above. So just to confirm using the email [email protected] you can login on your device and other faimily device? But in the situation above, when registering with email [email protected], you get the loader but it doesnt move on? A recording of the issue would be easier for us to debug further (if possible)? Hey @Ravi Sohal, Would you be able to update your nextJS SDK to the latest version (v2.3.6) and see if this issue still exists?
Ravi Sohal
Ravi SohalOP4mo ago
Hi @Oli - Kinde, so with the same email address if used on a different devices, it logs in but on some others it return 401. its confusing because it is a web app and should be the same login config but not sure why it returns a 401 on some devices the screenshot above is an example of a device login request response of a 401. both emails work on other devices I will update you on this
Oli - Kinde
Oli - Kinde4mo ago
This does sound like odd behaviour. I would suggest updating to the latest NextJS version and see if this issue still occurs. Please let me know. FYI, I will be on leave tomorrow (back Monday). So I will respond to any replies you have when I get back. For anything urgent, reach out to Andre @ Kinde
Want results from more Discord servers?
Add your server