Is there a configuration option to allow the same ...
# ory-selfhosting
b
Is there a configuration option to allow the same phone number to be associated across multiple identities? We're trying to disable this check in our lower environments for testing purposes, since we want to be able to verify that our MFA flows are working correctly, but this limits our testers to only being able to register one account
m
If the phone number is the main identifier I think not out of the box, if it is just a trait it should be no problem.
b
Could I get some guidance on how to set it up as just a trait while still using it as the 2fa method? It seems like
code.identifier: true
is required to use it for 2fa, but that also enforces uniqueness across all the users. When I set
code.identifier: false
on the phone trait, the 2fa challenge doesn't present any options. Here's the full identity schema: https://gist.github.com/cfelegy/d54c6fabe37fa557b3e43a2ce96ae25b