I am currently trying to solve a problem where sometimes the user logs in and he is welcomed with a 405, usually if the cache is cleared for the past hour the problem disappears.
So by trying to figure out this problem I was checking the metadatas of both the IdP and my SP.
Idp Start
<EntityDescriptor ID="IDP_ID" entityID="IDP_IDE">
<ds:Signature>
SP start
<md:EntityDescriptor ID="SP_ID" entityID="SP_IDE">
<ds:Signature>
I asked the IdP manager if he could check my metadata to see if something was wrong and he responded that an error occured (Entity descriptor. No corresponding start element is open)
So I chcked my metadata with this tool and oh boy so many errors regarding the prefix namespace not declared (https://www.samltool.com/validate_xml.php)
Also tested the IdP one and the same errors occured there.
Tried to check if I could add the namespaces myself on spring security but had no luck.
Is there a solution to this prefix problem? The metadata is generated automatically upon request so modifying the xml manually is a nono
question from:
https://stackoverflow.com/questions/65844009/saml2-metadata-doesnt-have-prefix-namespaces-idp-and-sp 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…