janus-ssp / janus

Fully featured metadata registration administration module built on top of simpleSAMLphp.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DisplayName in Metadata imported as Name

precurse opened this issue · comments

Janus Version: 1.22.1, but older versions affected too.

Hello, we've noticed the strange behaviour with Janus when importing IdP metadata.

Even when the DisplayName element is filled out in the SAML Metadata and we import it via the Janus web-ui, DisplayName is placed into the Name field instead. This winds up leaving DisplayName field empty through the web-ui and in turn the EngineBlock https://engineblock.openconext.example/authentication/proxy/idps-metadata URL leaves that field empty.

Metadata directly from IdP:

<mdui:UIInfo xmlns:mdui="urn:oasis:names:tc:SAML:metadata:ui">
<mdui:DisplayName xml:lang="en">Test Organization</mdui:DisplayName>
<mdui:Description xml:lang="en">This is an Example AD</mdui:Description>
<mdui:Keywords xml:lang="en">idp</mdui:Keywords>
</mdui:UIInfo>

Metadata from EngineBlock:

<mdui:UIInfo>
<mdui:Description xml:lang="en">This is an Example AD</mdui:Description>
<mdui:Keywords xml:lang="en">idp</mdui:Keywords>
</mdui:UIInfo>

Any help on this issue would be greatly appreciated.

Thanks!