The docs on OneLogin_Saml2_Auth.get_attribute() say that it returns a string, while it actually returns a list
| get_attribute(self, name)
| Returns the requested SAML attribute.
|
| :param name: Name of the attribute
| :type name: string
|
| :returns: Attribute value if exists or None
| :rtype: string
(Pdb) response.get_attribute('urn:oid:0.9.2342.19200300.100.1.1')
['Administrator']
The docs on
OneLogin_Saml2_Auth.get_attribute()say that it returns a string, while it actually returns a list