-
Notifications
You must be signed in to change notification settings - Fork 20
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
AuthnRequest not compatible with SPID specification #8
Comments
In order to fix this issue you have to create your own implementation of the OneLogin_Saml2_Templates class, editing the AUTHN_REQUEST, just add the required fields.. This is my implementation, for instance: |
Thanks for the response! We actually decided to use the approach with a shibboleth reverse proxy instead. I will check this out though, still not sure which is the best approach. |
Just started looking at this, and maybe I found out why it did not work for me. In the requirements for the demo app, there is a dependency that I think is wrong:
I believe that the dependency should be
This would make more sense (also considering the comment, and the commit that included this). I don't have time to test it now though. |
I think that your issue is related to the XML models listed in the OneLogin's library. I just edited the xml templated and it worked for me. Talking about the dependencies you already install python3-saml using |
Ciao, il progetto è stato completamente rinnovato, questa issue è stata risolta, grazie e a presto |
Ciao, c'è una ragione per cui si è deciso di passare a pysaml2? E' un po' un peccato che avete rimpiazzato il progetto invece di crearne uno nuovo (se non è perché python3-saml non va assolutamente usato). Noi abbiamo creato un fork di questo progetto che, utilizzando un nostro fork di python3-saml sta funzionando: https://github.com/fondazionebordoni/spid-django, e stavamo pensando di fare una pull request (il problema del fork di python3-saml ci ha frenato) |
Ciao @ewedlund |
Ok, grazie. |
It seems that the AuthnRequest generated is not compatible with the SPID specification, at least regarding the "Issuer" (see also italia/spid-regole-tecniche#15). Using the example app and https://github.com/italia/spid-testenv2 as IP I get the following errors when trying to make a request:
AuthnRequest/Issuer - attribute: Format | required key not provided
AuthnRequest/Issuer - attribute: NameQualifier | required key not provided
This does not seem to be an easy thing to fix since it is part of the SAML package, and not spid-django.
The text was updated successfully, but these errors were encountered: