Greetings. I have an issue where a call to SAMLIdentityProvider.SendSSO() keeps throwing the no pending request exception. From what I have read in the forums, I believe my problem might have to do with the session being overwritten, but I'd like an opinion on this. My case is as follows. My app receives an SP request from a third party. If the user is not already authenticated, the app figures out what domain the user's email belongs to (we have multiple domains) and creates a new SP initiated request to that domain (which could be the same one which received the third party request). The second request is received, the user logs in, and a response to the second request is sent. Once the second response is received with the user's attributes, a response to the original third party request is created. This last response call to SendSSO is what is throwing the execption. As I said, I think my second request might be overwriting the session which is why I can't respond to the first request. Am I correct? If so, how can I work around this? Thanks.
|