By: Karsten Brusch Account Admin 03 Feb 2020 at 3:28 a.m. CST

4 Responses
Karsten Brusch gravatar
We are trying to create a User with the following Email adress: office@abc_xyz.de But the creation fails because https://github.com/GluuFederation/oxTrust/blob/master/scim/src/main/java/org/gluu/oxtrust/model/scim2/Validations.java enforces email adresses to conform the regular expression. Although this might be correct, it should be up to us to add invalid email adresses to our systems. Is there a possibility to disable Email adress validation?

By Mohib Zico staff 03 Feb 2020 at 3:33 a.m. CST

Mohib Zico gravatar
@Jose.Gonzalez: any thought on this?

By Jose Gonzalez staff 03 Feb 2020 at 4:08 p.m. CST

Jose Gonzalez gravatar
Hi, Valid domain names can only contain letters, digits, and hyphens, ie. you cannot register an Internet domain if it contains underscores or other symbols. Why would you like to allow invalid addresses? ... In upcoming 4.1 we might change the regexp if there is a good reason > Is there a possibility to disable Email adress validation? No.

By Karsten Brusch Account Admin 05 Feb 2020 at 8:46 a.m. CST

Karsten Brusch gravatar
Hi, "Why would you like to allow invalid addresses? " --> We would not like to, but gluu is not the leading system for customer data in our company. Anyway, we use the error to inform masterdata management about those issues and they will probably solve it. Thanks!

By Mohib Zico staff 11 Feb 2020 at 11:51 p.m. CST

Mohib Zico gravatar
Thanks, Karsten!