-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Open
Labels
area-identityIncludes: Identity and providersIncludes: Identity and providersenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one
Milestone
Description
Is there an existing issue for this?
- I have searched the existing issues
Is your feature request related to a problem? Please describe the problem.
I am trying to create users with unique phone numbers.
I know it's already mentioned here in this issue 25368 and many others, but I think it makes sense to have it now.
Describe the solution you'd like
As suggested in the issue I referenced above, I think there could be a provided flag when creating a user, to enforce this (or not):
await userManager.CreateAsync(user, request.Password, requireUniquePhoneNumber = true) // default could be false
or whichever way you guys deem clean.
Then a FindByPhonenumber
method in the userManager
.
Additional context
In some countries, user identity is tied to their phone numbers, so some apps require users to register with them.
4fthawaiian, ahmed-abdelrazek and Outofnothing
Metadata
Metadata
Assignees
Labels
area-identityIncludes: Identity and providersIncludes: Identity and providersenhancementThis issue represents an ask for new feature or an enhancement to an existing oneThis issue represents an ask for new feature or an enhancement to an existing one