From 8d9181a1f5d5c8883f887cca741e5297e452c8fd Mon Sep 17 00:00:00 2001 From: Alan Shreve Date: Sun, 11 Oct 2020 02:14:37 -0700 Subject: [PATCH] fix: logout response element Response -> LogoutResponse --- schema.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schema.go b/schema.go index 63fb2d52..3c271138 100644 --- a/schema.go +++ b/schema.go @@ -1084,7 +1084,7 @@ type LogoutResponse struct { // Element returns an etree.Element representing the object in XML form. func (r *LogoutResponse) Element() *etree.Element { - el := etree.NewElement("samlp:Response") + el := etree.NewElement("samlp:LogoutResponse") el.CreateAttr("xmlns:saml", "urn:oasis:names:tc:SAML:2.0:assertion") el.CreateAttr("xmlns:samlp", "urn:oasis:names:tc:SAML:2.0:protocol")