Username entering is buggy?

Hey! When I pass in testingtesting username all works well - I get prompted to "Enter my password" However! When I delete this username and replace it with TestingTesting - I get prompted "We need your email too" Reading in https://docs.kinde.com/authenticate/authentication-methods/username-authentication/ - if I understand correctly these two usernames should be behaving the same! So it seems like a bug to me, please can you confirm? Excerpt from the docs below: "Kinde treats usernames as case-insensitive. In other words, we ignore case. We do this because it eliminates the possibility of auth issues and fraud when two usernames are identical in every aspect except the case of one of their letters. We are happy to support users choosing an aesthetically pleasing username combination, like RosyRose or BuilderBob. We just don’t also support separate identities for rosYrosE and BUilderbob."
Kinde docs
Username authentication
Our developer tools provide everything you need to get started with Kinde.
No description
No description
No description
No description
20 Replies
Michal Kučera
Michal KučeraOP2mo ago
When I entered the email in "we need your email too" it got me to Error 500 page
No description
Roshan
Roshan2mo ago
Hi there, thanks for reaching. I will check on your query and will get back to you soon. Hi there, That's weird. I've tried to replicate your issue, but I couldn't. Could you confirm that you are testing on the right application and the user?
Michal Kučera
Michal KučeraOP2mo ago
When I put in user testtest
No description
Michal Kučera
Michal KučeraOP2mo ago
When I put in TestTest
No description
Michal Kučera
Michal KučeraOP2mo ago
No description
Michal Kučera
Michal KučeraOP2mo ago
No description
Roshan
Roshan2mo ago
That's quite unusual. I am sharing what I've tested on my end. Please let me know if I understand you correctly. https://www.loom.com/share/0e6fbd986b66434a9dd54338ea27815e?sid=0e53e610-0f40-4862-90c9-815ce1ebaa32 Are you trying to signin or signup? An email is required when you sign up.
Michal Kučera
Michal KučeraOP2mo ago
I am signing up, but what is weird is that on my end it behaves differently whether I enter TestTest or testtest, I'd expect it to either dont work or work on both I'll record whats happening on my end
Michal Kučera
Michal KučeraOP2mo ago
Please dont worry about the "We couldn't log you in" - this is an issue on our side. All working in Kinde there
await client.register({
authUrlParams: {
connection_id: import.meta.env.VITE_KINDE_CONNECTION_USERNAME,
login_hint: emailOrUserName,
org_code: organization,
},
})
await client.register({
authUrlParams: {
connection_id: import.meta.env.VITE_KINDE_CONNECTION_USERNAME,
login_hint: emailOrUserName,
org_code: organization,
},
})
Here is what we're using to sign user in (I am using register in order to have just one button both for sign in and sign up)
Roshan
Roshan2mo ago
Hi there, thanks for providing the details. I will check the recorded video and will get back to you.
Michal Kučera
Michal KučeraOP2mo ago
Hey Patrick, is there any update on this, please?
Roshan
Roshan2mo ago
Hi there, I am sorry for not responding sooner. I checked your recorded video. The first time you used testtest, you set a password, but you didn't when you tried with TestTest. I guess that makes the difference.
Michal Kučera
Michal KučeraOP2mo ago
When I change a user I have to reset the temporary password?
Roshan
Roshan2mo ago
Of course, you have to do. You had completely deleted an identity and created a new one.
Michal Kučera
Michal KučeraOP2mo ago
I thought the temporary password is tied to the whole user, not to the username identity
Michal Kučera
Michal KučeraOP2mo ago
Even if I put in Testuser and set the password right away I get we need your email too
No description
No description
Michal Kučera
Michal KučeraOP2mo ago
And if I delete Testuser and add new username testuser I can still use the password I set before So I am not sure I understand this message, sorry. I dont think my mental model is right
Roshan
Roshan2mo ago
Hi there, I will check this again on my end and get back to you.
Michal Kučera
Michal KučeraOP2mo ago
Thanks, for now we solved it by restricting username use to just lowercase ones

Did you find this page helpful?