OpenConext / OpenConext/OpenConext-manage
Export XML differs from Export JSON ( SingleLogoutService_* is missing )
Open
Nobody has claimed this yet.
discussion
- Dominant language
- Java
- Stars
- 7
- Forks
- 13
- Avg merge
- 3d 14h
- Merged PRs (30d)
- 7
Description
Example export:
<?xml version="1.0"?>
<md:EntityDescriptor xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata"
xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui"
xmlns:mdrpi="urn:oasis:names:tc:SAML:metadata:rpi"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
entityID="https://demononprod.service-now.com" validUntil="2026-07-09T16:13:16.417342Z" cacheDuration="PT86400S">
<md:SPSSODescriptor protocolSupportEnumeration="urn:oasis:names:tc:SAML:2.0:protocol">
<md:Extensions>
<mdui:UIInfo>
<mdui:DisplayName xml:lang="en">VNG - ServiceNow (Test)</mdui:DisplayName>
<mdui:DisplayName xml:lang="nl">VNG - ServiceNow (Test)</mdui:DisplayName>
</mdui:UIInfo>
</md:Extensions>
<md:NameIDFormat>urn:oasis:names:tc:SAML:2.0:nameid-format:persistent</md:NameIDFormat>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Location="https://demononprod.service-now.com/navpage.do"
index="0"/>
<md:AssertionConsumerService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST"
Location="https://demononprod.service-now.com/consumer.do"
index="1"/>
</md:SPSSODescriptor>
<md:Organization>
<md:OrganizationName xml:lang="en">ServiceNow</md:OrganizationName>
<md:OrganizationName xml:lang="nl">ServiceNow</md:OrganizationName>
</md:Organization>
</md:EntityDescriptor>
versus
{
"allowedEntities" : [ ],
"allowedall" : true,
"arp" : {
"enabled" : false,
"attributes" : { }
},
"entityid" : "https://demononprod.service-now.com",
"metaDataFields" : {
"AssertionConsumerService:0:Binding" : "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
"AssertionConsumerService:0:Location" : "https://demononprod.service-now.com/navpage.do",
"AssertionConsumerService:0:index" : 0,
"AssertionConsumerService:1:Binding" : "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
"AssertionConsumerService:1:Location" : "https://demononprod.service-now.com/consumer.do",
"AssertionConsumerService:1:index" : 1,
"NameIDFormat" : "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent",
"OrganizationName:en" : "ServiceNow",
"OrganizationName:nl" : "ServiceNow",
"SingleLogoutService_Binding" : "urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST",
"SingleLogoutService_Location" : "https://demononprod.service-now.com/navpage.do",
"coin:signature_method" : "http://www.w3.org/2001/04/xmldsig-more#rsa-sha256",
"name:en" : "VNG - ServiceNow (Test)",
"name:nl" : "VNG - ServiceNow (Test)"
},
"state" : "prodaccepted",
"type" : "saml20-sp"
}
The XML version is not exporting the SingleLogoutService bindings. Bug or feature?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the repository's XML and JSON metadata export paths and comparing how the SingleLogoutService_Binding and SingleLogoutService_Location fields are handled. Reproduce the example export, then verify that XML includes the same SingleLogoutService bindings as JSON without changing the existing AssertionConsumerService output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100