Forums, Documentation & Knowledge Base - ComponentSpace

SP Initiated SSO - "The pending SAML action is being overridden."


https://componentspace.com/forums/Topic11674.aspx

By [email protected] - 7/23/2021

Hi team Component Space,

This is my first post here so please excuse any noob mistakes. I am seeing the below error messages during a SP-initiated authentication. Additionally I am seeing the same session ID with two different inResponseTo ids. I found the below post that seemed related but there was no solution posted. So I have emailed you the detailed SAML trace as you suggested in that post and have referenced this post in that email. 

The pending SAML action is being overridden.

ComponentSpace.Saml2.Exceptions.SamlProtocolException: There is no service provider pending a SAML response.

   at ComponentSpace.Saml2.SamlIdentityProvider.SendSsoAsync(String userID, IList`1 attributes, String authnContext, Status status)

   at ComponentSpace.Saml2.SamlIdentityProvider.SendSsoAsync(String userID, IList`1 attributes, String authnContext)


https://www.componentspace.com/forums/10279/sp-initiated-sso--the-pending-saml-action-is-being-overridden
session id: e7721615-953c-47e5-ab37-16d4ebf17357
In response to1: _d8e708ff-d3df-4b88-acf9-5e05119e8716
In response to2: _941072a3-96b9-4bba-b00b-d5bda63a9223

Any help will be appreciated.

Regards,
Sid

By ComponentSpace - 7/26/2021

Hi Sid,

That depends on your application. If SSO was triggered by a user clicking a button, the button click event would call GetStatusAsync().IsSsoCompletionPending() to check if there’s a pending SSO and if there is it would most likely do nothing. Alternatively, it could display a message saying SSO is in progress.

Normally once the SSO flow starts, control will be immediately passed to the IdP’s website so the user won’t have an opportunity to initiate SSO again. However, it can occur if they use the back button etc.