Proper way to implement Username-Password only authentication in a collection

default discord avatar
5 months ago

What is the proper way of implementing username/password login and registration, I don't want any email field.

I have tried making custom UI for edit and custom route for creating users, but when I try to create a new User it is giving me various types of errors (like it still expects an email in operations/create, confused about the strategies as well) and at this point I think I am doing it wrong way. can you guys please suggest a proper approach to achieve this.

  • discord user avatar
    Payload Team
    2 months ago

    Hi @arnabxd do you still need help with this? Apologies that we haven't got you a response sooner

  • default discord avatar
    2 months ago

    It will be awesome to get your insights, but at this point I can't share the errors anymore

Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!


Connect with the Payload Community on Discord



Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.