Closed faridnsh closed 1 year ago
Meanwhile, this is how aws-adfs project does the same thing: https://github.com/venth/aws-adfs/blob/master/aws_adfs/roles_assertion_extractor.py#L33-L39
I would be happy to make a pr, copy pasting that code!
Hi @alFReD-NSH , apologies for the delay in getting back to you.
If you're still willing to make a PR, that would be great! I've lost some bandwidth to work on awsume recently
Just realised I raised a duplicate of this as #147 - sorry about that! The good news is I also raised a fix for it #148.
Closed By #148 , thanks again @Tantalon!
I'm trying to create a saml plugin with adfs, and here's the saml response looks like:
As you can see the Attribute element that our code looks for and Attribute element and it's parent in my example don't have any explicit namespace.
Best way to do this is to ignore the namespaces, but well xml2dict doesn't have that feature, although someone made a pr but that project haven't had any activity since September, so I don't think it'd be merged anytime soon.