From 2c1eea85a91d25314a6e0328991a187900220fba Mon Sep 17 00:00:00 2001 From: milanmajchrak <90026355+milanmajchrak@users.noreply.github.com> Date: Thu, 21 Dec 2023 12:12:48 +0100 Subject: [PATCH] ufal/be-not-show-shib-welcome-page (#485) * Added cfg property to enable/disable showing of the page with attributes passed from the idp. --- dspace/config/clarin-dspace.cfg | 4 ++++ dspace/config/modules/rest.cfg | 2 ++ 2 files changed, 6 insertions(+) diff --git a/dspace/config/clarin-dspace.cfg b/dspace/config/clarin-dspace.cfg index 0064162af6ad..fe7fd16fbea0 100644 --- a/dspace/config/clarin-dspace.cfg +++ b/dspace/config/clarin-dspace.cfg @@ -111,6 +111,10 @@ authentication-shibboleth.role.ufal.mff.cuni.cz = UFAL # Authorization is assigned to the user in the `EPersonRestAuthenticationProvider` class. authentication-shibboleth.clarin.custom.groups = UFAL,UFAL_MEMBER +# Show attributes which are passed by IdP on the first login +# Default - false +authentication-shibboleth.show.idp-attributes = false + ############### # diff --git a/dspace/config/modules/rest.cfg b/dspace/config/modules/rest.cfg index 745014be5b31..d02972c222eb 100644 --- a/dspace/config/modules/rest.cfg +++ b/dspace/config/modules/rest.cfg @@ -66,6 +66,8 @@ rest.properties.exposed = themed.by.url rest.properties.exposed = themed.by.company.name rest.properties.exposed = identifier.doi.resolver rest.properties.exposed = spring.servlet.multipart.max-file-size +rest.properties.exposed = authentication-shibboleth.show.idp-attributes + # TUL rest.properties.exposed = dspace.ui.url rest.properties.exposed = versioning.item.history.include.submitter