ComponentSpace

Forums



ADSF - missing username


ADSF - missing username

Author
Message
omrisuissa
omrisuissa
New Member
New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)New Member (12 reputation)

Group: Forum Members
Posts: 9, Visits: 39
Hi,
We are testing your product for ADSF sso integration, and everything works great except that we don't get the username.
We get claims, including a claim that holds the username, but the out param of the username is empty.
SAMLServiceProvider.ReceiveSSO(
      Request,
      out isInResponseTo,
      out partnerName,
      out authnContext,
      out userName,
      out attributes,
      out relayState);

attributes - all data exists after login, including the username
userName - empty

Can you please advise what could be the problem?

Best,
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)ComponentSpace Development (3.8K reputation)

Group: Administrators
Posts: 2.7K, Visits: 8.4K
The userName parameter returns the SAML subject Name ID from the SAML assertion. If this is null it means the IdP didn't include a Name ID.

The ADFS admin needs to create a claims rule that maps some ActiveDirectory property (eg user principal name or email address) to the SAML Name ID.

This is described in the "Adding a Claims Rule" section of our ADFS Relying Party Integration Guide.

https://www.componentspace.com/Forums/9358/ADFS-Integration-Guides


Regards
ComponentSpace Development
GO


Similar Topics


Execution: 0.000. 2 queries. Compression Enabled.
Login
Existing Account
Email Address:


Password:


Social Logins

Select a Forum....









Forums, Documentation & Knowledge Base - ComponentSpace


Search