Closed aliaksander-samuseu closed 7 years ago
@yurem
As you can see from screen capture, if you configure custom RP settings afterwards, TR starts to work. Interesting fact: if you then uncheck this checkbox thus removing custom settings again, and restart IdP service, TR will stop to work. Grepping will show that /opt/shibboleth-idp/conf/metadata-providers.xml
file again doesn't have entry for this SP, i.e. it is removed after you disable this feature.
@dmogn
A bit of update: it's been confirmed that it also doesn't work for TR of type "Federation", and in this case even adding Custom RP config to it doesn't fix the issue.
@dmogn @yurem
What is status of this? Atm we can't configure Federation TRs which release attributes at all in 3.0 via web UI
@aliaksander-samuseu Thanks for the note. Federation case is caused because of "race condition" in URL metadata downloading & processing. It's only a part of the problem. Status: in process
Federal case: UI calls save(); create second thread for metadata downloading and process metadata for isFederal() checking in first thread. But metadata in second thread isn't downloaded yet... From here: https://github.com/GluuFederation/oxTrust/issues/505
@dmogn is this issue fixed?
@willow9886 Yes. Fixed. I'll merge today.
[20:53:18] Alex Samuseu: Here is a problem in the latest 3.1 build. When I create SAML TR of type federation, it passes metadata validation, but nevertheless is shown as TR of type "site" in the list, and I can't use it to create other TRs based on it as before. [21:03:55] Alex Samuseu: Fixed it for this one TR by editing "gluuIsFederation" attribute in ldap, but it's still a bug
@shekhar16 @dmogn
Reopening it as it's been designated for 3.0.2 and I still can reproduce it in my release deb pakage. Fed metadata's element is not added to /opt/shibboleth-idp/conf/metadata-providers.xml
file at all, and regular TR's is added only if it's created with custom relying party configuration added to it. If it was again fixed for 3.1.x branch, was it also back-ported to 3.0.x?
Closing this as won't fix. In 3.0 it is required to click on Configure Relying Party
Environment: CentOS 6.7, Gluu CE 3.0.1-1-3
Preconditions: Gluu was installed with full set of modules
Steps to reproduce:
uid
,transientid
andemail
attributes.# service idp restart
Result: After user is redirected to IdP it responds with "Application is not registered" error page. In
idp-process.log
messages like this appears (note the "No metadata returned" part):grepping for SP's hostname shows, that in case when TR is created without custom RP settings entry for this SP is not added to
/opt/shibboleth-idp/conf/metadata-providers.xml
Without it:
With it:
You can view full screen capture here
Expected result: If custom RP properties are not specified TR is still functional, has corresponding entry in
/opt/shibboleth-idp/conf/metadata-providers.xml:
file and default RP configuration provided in/opt/shibboleth-idp/conf/relying-party.xml
is used for it.