cancel
Showing results for 
Search instead for 
Did you mean: 

How to Specify a Custom Schema Attribute in IdDS for SAML Name ID?

Colt
Active Contributor
0 Kudos

Hi experts!

we are currently working on integrating a custom schema within Identity Directory Services (IdDS). Specifically, we've developed a custom schema titled "urn:sap:cloud:scim:schemas:extension:custom:2.0:XitingIAM"

In our application, we're observing the following user data through Postman:

"urn:sap:cloud:scim:schemas:extension:custom:2.0:XitingIAM": {
  "customattributeIAM_1": "sample-value-2"
}

Our primary objective is to utilize one of the attributes from this custom schema as the SAML Name ID for a specific application. However, we are encountering a challenge. When we try to specify this attribute in the following format:

Source: Expression
Value: ${urn:sap:cloud:scim:schemas:extension:custom:2.0:XitingIAM.customattributeIAM_1}

We receive an error stating: Invalid subject name identifier.

Colt_0-1712302215716.png

 

This outcome is unexpected, as our approach aligns with the method outlined in your documentation (https://help.sap.com/docs/identity-authentication/identity-authentication/configure-default-attribut... 

According to the documentation, it should correctly read the value and include it in the token.

While this issue isn't of the highest urgency, it is significant for our customers who store values like perPersonUUID from SFSF within such custom schema attributes. Our aim is to seamlessly use these values within specific applications as a SAML Name Identifier.

Thanks in advance for your help!

Cheers Colt

Accepted Solutions (0)

Answers (1)

Answers (1)

Colt
Active Contributor
0 Kudos
 
Expression - A static or dynamic value. It can be a user attribute coming from Identity Directory, or Corporate Identity Provider, or even a combination of all sources.

The user is identified by setting an attribute with dynamic value in the following pattern: <prefix> ${attribute_technical_name} <suffix>.

See the technical names of the attributes that can take dynamic values:

Supported Attributes
Attribute Attribute Technical Name
Emailmail
Telephone Numbertelephone
Logon NameloginName
Display NamedisplayName
User IDuid
Global User IDuserUuid
Employee NumberpersonnelNumber
Custom Attribute 1customAttribute1
Custom Attribute 2customAttribute2
Custom Attribute 3customAttribute3
Custom Attribute 4customAttribute4
Custom Attribute 5customAttribute5
Custom Attribute 6customAttribute6
Custom Attribute 7customAttribute7
Custom Attribute 8customAttribute8
Custom Attribute 9customAttribute9
Custom Attribute 10customAttribute10
SP (service provider) user nameIDname_id
SP (service provider) user Custom Attribute 1spCustomAttribute1
SP (service provider) user Custom Attribute 2spCustomAttribute2
SP (service provider) user Custom Attribute 3spCustomAttribute3
SP (service provider) user Custom Attribute 4spCustomAttribute4
SP (service provider) user Custom Attribute 5spCustomAttribute5
NameID coming from the assertion of the corporate IdPcorporateIdP.NameID
Attribute coming from the assertion of the corporate IdPcorporateIdP.<corporateIDP attribute>

SAP, in this context, seems to imply that "...It can be a user attribute coming from the Identity Directory..." However, instead of only supporting the attributes listed in the provided table, we strongly believe that an attribute from a Custom Schema, which is also a part of the Identity Directory, should be accommodated.

Consequently, we anticipate that, for example, instead of using ${customAttribute1}, something like ${urn:sap:cloud:scim:schemas:extension:custom:2.0:XitingIAM.customattributeIAM_1} would be operational.

It is at this juncture that we require a definitive statement from SAP regarding future support for this functionality, as the standard 10 customAttribute options present certain limitations, and the utilization of customer-owned schemas is not uncommon. 

UPDATE 2024-04-05: In the meantime, I have discovered that this functionality works for Self-Defined Attributes (Application Attributes), and the value is integrated into the SAML Token.

Colt_1-1713520974098.png

Colt_2-1713520997097.png

However this works not for the SAML Subject Name ID

UPDATE 2024-04-19: I'm a tad disappointed with SAP's standard response. You'd think one OSS would be enough to send this to the product team, especially since I've spelled it all out in exquisite detail, complete with footnotes and a dramatic reading. But no, now they expect me to file a feature request. 

Your incident reached the IAS development support. I would like to inform you that currently IAS doesn’t support the described functionality. In this documentation:https://help.sap.com/docs/identity-authentication/identity-authentication/configure-subject-name-ide... you can find the supported expressions for Subject Name Identifier. If you want this functionality to be added, you could submit improvement request. This way your suggestion would reach the Product Team directly.

 
We consider this feature essential when using custom schema attributes. I guess we’ll just wait and see when the issue blows up with the first customer. As a partner, you just don’t get taken seriously, it seems 😏