ComponentSpace

Forums



SAML 2.0 Username from Assertion


SAML 2.0 Username from Assertion

Author
Message
aliasgarmb
aliasgarmb
New Member
New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)New Member (4 reputation)

Group: Forum Members
Posts: 2, Visits: 19
Hello,
I am using ForgeRock AM as the Identity Provider with an ASP.NET Webforms application as the Service Provider. I am doing an IdP initiate SSO, and successfully receiving an assertion on the AssertionConsumerService.aspx page.

However, the SAMLServiceProvider.ReceiveSSO method is returning the username in a different format. This is reflected in the saml:NameID in the attached trace file. Is there a way to get the actual username used in ForgeRock AM?

Thank you
Attachments
SamlTrace.log (2 views, 31.00 KB)
ComponentSpace
ComponentSpace
ComponentSpace Development
ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)ComponentSpace Development (4.4K reputation)

Group: Administrators
Posts: 3.2K, Visits: 11K
We return the NameID from the SAML assertion. In this case it's "8erijq43+4eSPpzyX5+NANKf4Upj".

You would need to configure the identity provider to specify exactly what user information should be sent as the NameID.

Please refer to ForgeRock's documentation.



Regards
ComponentSpace Development
GO


Similar Topics


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


Password:


Select a Forum....












Forums, Documentation & Knowledge Base - ComponentSpace


Search