Skip to content
Snippets Groups Projects
Verified Commit b2514dfb authored by Dominik Frantisek Bucik's avatar Dominik Frantisek Bucik
Browse files

fix: :bug: Fix jurisdiction in consent

parent a83fba7b
No related branches found
No related tags found
1 merge request!388fix: 🐛 Fix jurisdiction in consent
Pipeline #416654 passed
......@@ -204,6 +204,7 @@ public class OAuthConfirmationController {
if (perunOidcConfig.getTheme().equalsIgnoreCase(LSAAI)) {
model.put("getsOfflineAccess", authRequest.getScope().contains("offline_access"));
model.put("jurisdiction", AuthenticationUtilities.getJurisdiction(client));
model.put("fullJurisdiction", client.getJurisdiction());
model.put("isTestSp", AuthenticationUtilities.isTestSp(client, perunAdapter, facilityAttrsConfig.getTestSpAttr()));
model.put("acceptedTos", client.isAcceptedTos());
return "lsaai/approve";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment