No username with Lock

I’ve been using the Lock library in my web app where both in sign ups and registrations, I have not been requiring username. User simply enters his/her email and password to sign up or login. This has been working fine.

Now, I’m trying to use the login/sign up APIs because in my new React Native app, I needed custom UI. When I test login by calling the API using Postman, I’m getting an error that reads, username is required.

What is the username for the existing users in my database which has been using the “Username-Password-Authentication” i.e. the standard database? I don’t see a username field anywhere when I pulled up a user’s profile through the Auth0 dashboard.

Hey there @imsam67!

Let me do some research regarding your hurdle and share the news with you once I have the solution!

I was asked by the engineering team if you can share with us the screenshot from Postman showing that error / information. Thank you!

Hey there!

Have you had a chance to see my previous message?

I’ve resolved the issue by switching to universal login. Thank you!

1 Like

Perfect to hear that! Thank you!