From 8df965b98d726ffd4adc9a00fbadf759ed039ad9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E7=9F=B3?= Date: Mon, 16 Sep 2024 08:01:28 +0800 Subject: [PATCH] feat: improve SAML XML's xmlns to fix SAML support for some clouds (#3207) --- object/saml_idp.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/object/saml_idp.go b/object/saml_idp.go index 53252407..013dd0bb 100644 --- a/object/saml_idp.go +++ b/object/saml_idp.go @@ -188,17 +188,17 @@ type NameIDFormat struct { } type SingleSignOnService struct { - XMLName xml.Name + // XMLName xml.Name Binding string `xml:"Binding,attr"` Location string `xml:"Location,attr"` } type Attribute struct { // XMLName xml.Name + Xmlns string `xml:"xmlns,attr"` Name string `xml:"Name,attr"` NameFormat string `xml:"NameFormat,attr"` FriendlyName string `xml:"FriendlyName,attr"` - Xmlns string `xml:"xmlns,attr"` Values []string `xml:"AttributeValue"` }