Open ahulist opened 3 years ago
@ahulist Logging the response.content.decode()
from line 135 of saml_token_provider.py, and reading it might help you to understand, why Assertion was not provided
@vgrem, though you guys got this code with the minidom module from my suggestion, I ended up using the simple regex match there. It must be the most effective, and don't require minidom, which you don't use anywhere else:
match = re.search(r'<saml:Assertion.+</saml:Assertion>', response.content.decode())
if match is None:
self.error = 'Cannot get security assertion for user {0} from {1}'.format(self.__username, adfs_url)
logger.error(self.error)
return None
assertion_node = match.group()
This chunk is from an older 2.2.1.1 version
@nsmcan, i believe we did #297 :)
@nsmcan, although this change seems unfortunately impacted to broken auth (for federated signin with ADFS), related issues reported here:
@vgrem, we need to double-check code against a reference implementation found on Microsoft. I will ask our SharePoint admin (@Zerg00s) to help me installing and configuring a couple of test instances, where it could be properly tested
Hey @nsmcan, @vgrem @Zerg00s, was this issue abandoned/forgotten ? has this been solved in any way yet (I believe it is not fixed at the moment) or considered a won't fix issue ? Is there any temporary workaround for this issue ? Reverting back to an old commit ?
+1 to @AkechiShiro 's questions. Although it was working up to a few days ago, it seems something broke it, maybe on my company's end; but I'm struggling to find a solution... should I update or downgrade?
@chelsy-mena did you find a solution to this?
I would like to CRUD files on Sharepoint. To do this I'm trying to follow this basic example:
which gives me an Error:
Any ideas? It doesn't feel like an authentication problem.