-
-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Got different errors on different OS, please help #200
Comments
The main issue is installing the python-saml dependency: dm.xmlsec.binding Can you provide more info about how you obtain the "invalid return" on the ACS view? what demo example are you using? is your "prepare request" method right? |
Hi @pitbulk , Thanks for your quick reply. "invalid return" is actually "A valid SubjectConfirmation was not found on this Response" error. I'm wondering is this error related to my self-signed SSL certificate hosted on Nginx? |
It must be related with the way request from python framework is processed and provided to the python toolkit. You may review the reason for the SubjectConfirmation invalidation, and review the SAMLResponse, the SAML settings and the "prepare request" method. |
Hi @pitbulk , Yep, I have the same error as @anodliv from my Mac Pro, too. (Noted I'm using cloned sample django-app) My current environments:
Any clue what might be wrong? |
enable the debug option, so there's additional info printed now, see below:
so looks like the errno 45 is XMLSEC_ERRORS_R_KEY_NOT_FOUND, so looks like the signing key was somehow treated as not valid? this is the code that looks like the place, https://github.com/lsh123/xmlsec/blob/a9c2be7a2e3347d2d5f85d324a128d2c00a618af/src/xmldsig.c |
Hi @pitbulk and team, |
Can you try to run the tests of python-saml? Download repo, add virtualenv, activate it and execute:
If you have issues, then maybe you still have issues with the dm.xmlsec.binding installation. Maybe use instead python3-saml can be a solution |
Dear team,
Seems this package rely heavily on specific operation system, right?
I first attempted to debug on my Mac and always blocked by a return of something like "invalid return" from ACS by correctly configuring your sample app.
I deployed the same code to different OS, here are what I found:
the only OS I ran without any problem is Ubuntu v16.04, same code.
i spent weeks looking into these issues, now I don't have clue how to move on.
could you please suggest what I should try? Thanks in advance.
Thanks,
Wally
The text was updated successfully, but these errors were encountered: