Need Help? We are right here!
Thanks for your Enquiry. Our team will soon reach out to you.
If you don't hear from us within 24 hours, please feel free to send a follow-up email to info@xecurify.com
Search Results:
×Expressions within attribute mappings allow you to modify and transform attributes before they are stored in miniOrange or sent to external applications. These transformations enable concatenating, manipulating, and referencing attributes for user profile creation, authentication, or provisioning.
Key Use Cases
External Identity Provider (IdP) profiles store specific user information. These profiles can be referenced and transformed to:
Follow these steps to map attributes in the miniOrange Admin Console:
Transform incoming attribute names using EXTERNAL mappings before passing them to target applications.
Example: Map fName to first_name when sent to an app.
Below are commonly used functions for transforming attributes within expressions:
Function | Example | Input | Output |
---|---|---|---|
toUpperCase | Str.toUpper(${fname}) | Alexander | ALEXANDER |
toLowerCase | Str.toLower(${fname}) | AlexANDER | alexander |
substringBefore | Str.splitGet(${email}, "@", "0") | alex@miniorange.com | alex |
substringAfter | Str.splitGet(${email}, "@", "1") | alex@miniorange.com | miniorange.com |
Initialization of Key Attributes
Initialize key attributes for transformations:
${fname} + "123";
// Result: "John123"
${fname} + " " + ${lname};
// Result: "John Doe"
${fname} + " Kumar " + ${lname};
// Result: "John Kumar Doe"
Str.splitGet(${email}, "@", "0") + "@custom-domain.com";
/ Result: "johnd@custom-domain.com"
Str.splitGet(emailArray, ";", "1");
// Input: "ab@ab.ab;bc@bc.bc;cd@cd.cd"
// Result: "bc@bc.bc"
Arr.startsWith(groupsArray, ",", "Grp_SNI,GRP1_", ",");
// Input: "GRP_SNI_qwjfbq,Grp_SNI_hellogroup,GRP1_sni_fwefwe,GRP1_EMI,demogroup,testgroup,grp1_username"
// Result: "Grp_SNI_hellogroup,GRP1_sni_fwefwe,GRP1_EMI"
Arr.startsWithIgnoreCase(groupsArray, ",", "Grp_SNI,GRP1_", ",");
// Input: "GRP_SNI_qwjfbq,Grp_SNI_hellogroup,GRP1_sni_fwefwe,GRP1_EMI,demogroup,testgroup,grp1_username"
// Result: "GRP_SNI_qwjfbq,Grp_SNI_hellogroup,GRP1_sni_fwefwe,GRP1_EMI,grp1_username"