[IdP] Not able to parse assertion values from the SAML Login Response

Forge Component
Published on 5 Jun by Leonardo Fernandes
43 votes
Published on 5 Jun by Leonardo Fernandes


I am using Idp component to integrate login feature with our site using SAML 2.0. Component works well with responses i got from Okta and OneLogin services but when we use our actual identity provider settings the component is unable to parse and fill values of the assertion like first name, email, user id etc.

Attached is the format of login response we got from the identity provider via login request:

'<Conditions NotBefore="2020-03-18T14:56:59.764Z" NotOnOrAfter="2020-03-18T15:56:59.764Z">
<Attribute Name="firstName">
<Attribute Name="lastName">
<Attribute Name="email">
<Attribute Name="UID">
<AuthnStatement AuthnInstant="2020-03-18T14:53:22.342Z">

Please suggest some solutions to this issue.


Sandeep Prajapat