Mahara throws 'Badly formated SAML' error even though the metadata is valid
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
High
|
Robert Lyon |
Bug Description
It would be good to investigate what SAML metadata we allow. Recently, when we updated an IdP, the error for 'badly formatted SAML' was thrown even though the IdP metadata was valid.
The old metadata that worked. Displayed is only the pertinent part that needed to be retained to work:
---
<EntityDescriptor
xmlns=
xmlns:xsi="http://
xmlns:ds="http://
xmlns:
xmlns:
xmlns:
xsi:schemaLoc
entityID="https:/
<Extensions>
---
The equivalent of the new metadata that wouldn't work:
---
<EntityDescriptor entityID="https:/
<Extensions>
---
The new metadat doesn't contain any of the xmlns values and the xsi value.
tags: | added: saml sso |
Changed in mahara: | |
status: | Confirmed → In Progress |
assignee: | nobody → Robert Lyon (robertl-9) |
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
Patch for "master" branch: https:/ /reviews. mahara. org/11264