Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for unique phone numbers, find user by phone number in Identity #55199

Open
1 task done
ayodejii opened this issue Apr 18, 2024 · 0 comments
Open
1 task done
Labels
area-identity Includes: Identity and providers enhancement This issue represents an ask for new feature or an enhancement to an existing one
Milestone

Comments

@ayodejii
Copy link

ayodejii commented Apr 18, 2024

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added the area-identity Includes: Identity and providers label Apr 18, 2024
@ayodejii ayodejii changed the title dd support for unique phone numbers, find user by phone number in Identity Support for unique phone numbers, find user by phone number in Identity Apr 18, 2024
@SteveSandersonMS SteveSandersonMS added this to the Backlog milestone Apr 30, 2024
@SteveSandersonMS SteveSandersonMS added the enhancement This issue represents an ask for new feature or an enhancement to an existing one label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-identity Includes: Identity and providers enhancement This issue represents an ask for new feature or an enhancement to an existing one
Projects
None yet
Development

No branches or pull requests

2 participants