TrustPortDocs
In the dashboardIdP Attributes

Three kinds of attribute

KindWhat it isWhere the value appears
StandardCore identity fields every connection providesAt the top level of the user profile
PredefinedCommon HR and directory fields, off until you switch them oncustom_attributes
CustomFields you invent for your productcustom_attributes

Standard attributes

AttributeDescriptionRequired
idp_idUnique user ID from the identity providerAlways
emailThe user’s email addressAlways
first_nameFirst nameYes
last_nameLast nameYes
nameFull nameOptional, off by default

idp_id and email are locked on; they are how TrustPort recognises a person.

Predefined attributes

Switch on the ones your product uses, so IT admins know to map them:

addresses, cost_center_name, department_name, display_name, division_name, emails, employee_number, employee_type, employment_start_date, job_title, manager_email, manager_id, manager_name, organization, phone_numbers, username.

Create a custom attribute

  1. Choose a key

    Lowercase letters, digits and underscores, starting with a letter: security_clearance_level. The key is what your code reads, so pick something you're happy to keep.

  2. Describe it

    IT admins see the description while mapping, so say what belongs there and in what format.

What your app receives

The dashboard previews the profile shape for the attributes you have switched on. For example:

Profile
{
  "idp_id": "00u1a2b3c4",
  "email": "ada@acme.com",
  "first_name": "Ada",
  "last_name": "Obi",
  "custom_attributes": {
    "department_name": "Engineering",
    "job_title": "Staff Engineer",
    "security_clearance_level": "2"
  }
}
Only switch on what you'll use. Every extra attribute is one more thing a customer's IT team must map, and one more piece of personal data you hold.
© TrustPort IdentitySomething unclear? Tell us and we'll fix the page.