iDP connecting to SP SAML / SSO
问题 I have been assigned a task where I (the iDP) need to connect to a service provider. So far I have the code: public ActionResult SSO(string SAMLRequest) { var model = new ApiSsoModel(); try { if (SAMLRequest == null) throw new ArgumentNullException("The parameter \"SAMLRequest\" is null."); byte[] decoded2 = Convert.FromBase64String(SAMLRequest); string decoded3 = string.Empty; using (MemoryStream stream2 = new MemoryStream(decoded2)) { using (MemoryStream stream3 = new MemoryStream()) {