@@ -166,9 +166,6 @@ perun.user.deletion.forced={{ perun_rpc_user_deletion_forced }}
166166# Require consents throughout Perun
167167perun.force.consents={{ perun_rpc_force_consents }}
168168
169- # If the call to user info endpoint should be made (on OIDC) when creating PerunPrincipal
170- perun.requestUserInfoEndpoint={{ perun_rpc_requestUserInfoEndpoint }}
171-
172169perun.defaultLoa.idp={{ perun_rpc_defaultLoa_idp }}
173170
174171{% if perun_rpc_group_nameSecondaryRegex is defined %}
@@ -195,6 +192,9 @@ perun.sendIdentityAlerts={{ perun_rpc_sendIdentityAlerts }}
195192# Therefore, account linking will not be offered to users even when they already have registered some similar accounts.
196193perun.findSimilarUsersDisabled={{ perun_rpc_registrar_findSimilarUsers_disabled }}
197194
195+ # If the call to user info endpoint should be made (on OIDC) when creating PerunPrincipal
196+ perun.requestUserInfoEndpoint={{ perun_rpc_requestUserInfoEndpoint|bool|to_json }}
197+
198198# names of the property in userInfo that could contain extSourceLogin
199199perun.userInfoEndpoint.extSourceLogin={{ perun_rpc_userInfoEndpoint_extSourceLogin }}
200200
@@ -204,6 +204,9 @@ perun.userInfoEndpoint.extSourceName={{ perun_rpc_userInfoEndpoint_extSourceName
204204# properties that are path in the userInfo to the extSourceFriendlyName
205205perun.userInfoEndpoint.extSourceFriendlyName={{ perun_rpc_userInfoEndpoint_extSourceFriendlyName }}
206206
207+ # when set to true, MFA is required for critical operations and attribute actions
208+ perun.enforceMfa={{ perun_rpc_enforceMfa|bool|to_json }}
209+
207210# timeout limit (minutes) for the MFA to be valid (timestamp cannot be older than the limit)
208211perun.introspectionEndpoint.mfaAuthTimeout={{ perun_rpc_introspectionEndpoint_mfaAuthTimeout }}
209212
@@ -215,9 +218,6 @@ perun.introspectionEndpoint.mfaAuthTimeoutPercentageForceLogIn={{ perun_rpc_intr
215218# expected acr value to be returned from introspection endpoint if MFA was performed
216219perun.introspectionEndpoint.mfaAcrValue={{ perun_rpc_introspectionEndpoint_mfaAcrValue }}
217220
218- # when set to true, MFA is required for critical operations and attribute actions
219- perun.enforceMfa={{ perun_rpc_enforceMfa }}
220-
221221# how many months is lastAccess of user IdP extSource valid for attributes retrieval
222222perun.idpLoginValidity={{ perun_rpc_idpLoginValidity }}
223223
@@ -229,6 +229,7 @@ perun.forceHtmlSanitization={{ perun_rpc_force_html_sanitization|bool|to_json }}
229229
230230# Limit roles in session for the old GUI apps. This is necessary to support step-up MFA globally.
231231perun.appAllowedRoles.apps={% for app in perun_rpc_app_allowed_roles %} {{ app.name }}{% if not loop .last %} ,{% endif %}{% endfor %}
232+
232233{% for app in perun_rpc_app_allowed_roles %}
233234perun.appAllowedRoles.{{ app.name }}.reg={{ app.reg }}
234235perun.appAllowedRoles.{{ app.name }}.roles={{ app.roles|join(',') }}
0 commit comments