How to create new accounts with a part of email as username when my IDP only sends email as an value?

211 views 0

You can add a regular expression to the attribute name(email) to extract the username for the user.

Follow the below steps to add a regular expression to the username.

  • Navigate to User profile tab in the plugin.
  • Select Apply regular expression on the username field.
  • Add a regular expression (eg: ^.*?(?=@) ) in the Regular expression text field.
  • Save settings.

For example, you can use regular expression ^.*?(?=@) to extract demo from username demo@example.com

Was this helpful?

Hello there!

Need Help? We are right here!

Contact miniOrange Support

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com