Azure-Samples / active-directory-b2c-custom-policy-starterpack

Azure AD B2C now allows uploading of a Custom Policy which allows full control and customization of the Identity Experience Framework
http://aka.ms/aadb2ccustom
MIT License
334 stars 394 forks source link

Email Regular Expression for email claim accepting invalid emails #129

Closed arath17 closed 1 year ago

arath17 commented 2 years ago

The regular expression for email claim validation is accepting invalid email formats such as 'name@gmail'

LockTar commented 1 year ago

I had the same issue as #52 so I created a Microsoft ticket for this. The've updated the samples with their regular expression. See this commit. They use this regular expression in the User flow experience. Not tested this my self but should solve the issue.

yoelhor commented 1 year ago

Closing the issue due to the fix https://github.com/Azure-Samples/active-directory-b2c-custom-policy-starterpack/commit/29424bc7a580c1ac8466d1200d14b8d37a7e8fff