Receiving SSO from a string

Hey guys, I’ve been working with the provided API for a few weeks, and I’ve hit a bit of a snag. The product I’m working on provides SSO support for multiple identity providers, and the one I’m currently working on is the first to use SAML. We’ve abstracted the SSO logic out so it sends the SSO requests to client-specific objects as JSON requests.

However, this means that the await _samlServiceProvider.ReceiveSsoAsync(); doesn’t quite work since the request itself has a SAMLResponse as a string in a dictionary in what’s essentially just some random object. Is there a way to extract that string out and send it to the API?

This can be achieved by implementing the ComponentSpace.Saml2.Bindings.IHttpRequest interface and then registering your implementation with the IoC container.
It’s an area we’re looking to simplify with a standard implementation for use cases like the one you mention.
You’re welcome to email us regarding your specific requirements and a possible beta release.