88
Views
1
Comments
Solved
[IdP] Unable to get SAML claims from IdP module
idp
Web icon
Forge asset by João Barata

I can't find a way to get the signed in user's claims when using SAML SSO with the IdP and IdPReact modules. The "GetCurrentClaims" action in IdPReact apparently calls "GetCurrentUserCustomClaims" in the IdP module. That last one was simply  "GetCurrentUserClaims" in an earlier IdP version and worked seamlessly. Anybody knows if this is an update, and, if so, how one gets the claims?

2021-11-29 08-42-47
Johan Åström
Solution

So, turns out to be a bug...

Right before the call to "ProcessClaims" in "Saml_Response_Process", I had to add an aggregate:

And pass it to the Config_UserMappings argument in ProcessClaims:

And it solved the problem.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.