Email with plus (+) sign mapping

Greetings,

From my research, it appears Auth0 handles email addresses with plus signs (+) as regular email addresses already. For example: test+more@example.com would automagically map to test@example.com. If this is in fact the case, and if example.com in this case were a third party IdP, and we had identifier first configured on our profiles — would it be at all possible for test+more@example.com to exist as a separate user in the Auth0 username/password database as a wholly separate user?

Our use case is that our internal users are looking to work outside the confines of our AAD logins for our staging applications. They need separate logins for individual customer demos, and we use WAAD login for them. We would like to use username/password combination for them, but identifier first is seeing their suffix domain and sending their logins automaticallyss to the third party IdP. Our use case here would have test@example.com working through WAAD while test+more@example.com flows through username/password flow.

Is there a configuration or action that can make this setup work for us? It is pertinent to get this working for our internal users. Thank you for your help in advance!

Hi @josh.morningstar,

Welcome to the Auth0 Community!

Emails using the + sign are treated as different emails in the Auth0 database, which means that, yes, you can use test@example.com and test+more@example.com as two separate users.

Unfortunately the Identifier First Authentication Profile does not work with automatically detecting which one of the two emails with the same domain should proceed with Active Directory over Username/Password. If you’ve set up example.com as your domain for Home Realm Discovery, it will get picked up from all emails using that domain. It does not take the + sign into consideration.

I would advise, as configuration, to keep @example.com as the domain for your employees and have a different domain for internal users, just for testing.

If you have any other questions, feel free to reach out.

Have a good one,
Vlad