Skip to main content

User identifier and attributes

When a user logs into the marketplace using an external identity provider (IdP), essential data about the user is transmitted to confirm or provision the user’s identity. This topic describes the user identifier and attributes supported by AppDirect.

User identifier

Single sign-on (SSO) users must be identified by a unique and immutable identifier sent in the SAML assertion’s NameID element. The first time users log into the marketplace using SSO, this identifier is associated with their marketplace user record by setting the user’s external ID to this value, as shown in the following example.

<saml:Subject>
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified">john.smith@example.com</saml:NameID>

</saml:Subject>

Supported attributes

AppDirect-powered marketplaces support automatic user creation, updating, and linking, using attributes that are included in the SAML response.The following table lists the supported attributes and when they are used.

AttributeDescriptionUsage
FirstNameUser’s first name
Required when Automatic user creation is enabled
Create and update
LastNameUser’s last name
Required when Automatic user creation is enabled
Create and update
EmailUser’s primary email address
Required when Automatic user creation or User account linking by email are enabled
Create, update, and linking
WorkEmailUser’s work email addressCreate and update
PersonalEmailUser’s personal email addressCreate and update
HomePhoneUser’s home phone numberCreate and update
MobilePhoneUser’s mobile phone numberCreate and update
WorkPhoneUser’s work phone numberCreate and update
TitleUser’s titleCreate and update
CountryUser’s countryCreate and update
StateUser’s stateCreate and update
BillingDayUser’s billing day of month (1-28)Create
RoleUser’s company role
Must match one of the following values: SYS_ADMIN, BILLING_ADMIN, USER
Create

Attribute names must exactly match those defined in the table above, as shown in the following example.

<saml:AttributeStatement>
<saml:Attribute Name="**Email**" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">john.smith@example.com</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="**FirstName**" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">John</saml:AttributeValue>
</saml:Attribute>
<saml:Attribute Name="**LastName**" NameFormat="urn:oasis:names:tc:SAML:2.0:attrname-format:basic">
<saml:AttributeValue xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="xs:string">Smith</saml:AttributeValue>
</saml:Attribute>
</saml:AttributeStatement>

Was this page helpful?