SAML attribute handling
-
I have been able to get the plugin to authenticate with plugin. Great work. However, I am trying to configure the SP provider to parse the SAML attributes for username, group, etc. and I can’t seem to get it work. I have verified that the SAML response contains the attributes, but they don’t seem to be parsed or handled properly by the plugin.
<saml2:AttributeStatement> <saml2:Attribute Name = "email" NameFormat = "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"> <saml2:AttributeValue xmlns:xs = "https://www.w3.org/2001/XMLSchema" xmlns:xsi = "https://www.w3.org/2001/XMLSchema-instance" xsi:type = "xs:string"> [email protected] </saml2:AttributeValue> </saml2:Attribute> <saml2:Attribute Name = "firstName" NameFormat = "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"> <saml2:AttributeValue xmlns:xs = "https://www.w3.org/2001/XMLSchema" xmlns:xsi = "https://www.w3.org/2001/XMLSchema-instance" xsi:type = "xs:string">Tom </saml2:AttributeValue> </saml2:Attribute> <saml2:Attribute Name = "userName" NameFormat = "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"> <saml2:AttributeValue xmlns:xs = "https://www.w3.org/2001/XMLSchema" xmlns:xsi = "https://www.w3.org/2001/XMLSchema-instance" xsi:type = "xs:string"> [email protected] </saml2:AttributeValue> </saml2:Attribute> <saml2:Attribute Name = "group" NameFormat = "urn:oasis:names:tc:SAML:2.0:attrname-format:unspecified"> <saml2:AttributeValue xmlns:xs = "https://www.w3.org/2001/XMLSchema" xmlns:xsi = "https://www.w3.org/2001/XMLSchema-instance" xsi:type = "xs:string"> Administrator </saml2:AttributeValue> </saml2:Attribute> </saml2:AttributeStatement>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘SAML attribute handling’ is closed to new replies.