Open asta-tud-deploy opened 1 month ago
Well, it seems this issue was caused by two different python versions in the virtual environment and some weird behaviour following this. Removing the old environment seems to have solved the problem.
Therefore i will close this for now.
false positive, still happening -> reopening. Should have tested more than 10 times... /o\
When using pysaml2 with djangosaml2 the namespaces in the created metadata in /saml2/metadata are changing randomly.
Code Version
Python3.11 pysaml2==7.5.0 Django==4.2.14 djangosaml2==1.9.3
Settings in django:
IDP-Metadata: https://www.aai.dfn.de/fileadmin/metadata/dfn-aai-local-312-metadata.xml Entityid-Metadata: https://sso.tu-darmstadt.de/idp/metadata
Expected Behavior
namespace is not changing This is a problem because our IDP imports our metadata regularly and the namespace change causes the alerting to go off...
Current Behavior
The namespaces change randomly between md: and nsX: sometimes with every reload, but only after the first time somebody logged in (before it stays as nsX:
Here are the two different types:
2nd Option
Steps to Reproduce
Here is a link, just reload it for a couple of times: https://9euro.asta.tu-darmstadt.de/saml2/metadata/
Any ideas or hints?
Thanks in advance :)