diff --git a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/applications.js b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/applications.js index 784f1b821c..446a676c25 100755 --- a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/applications.js +++ b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/applications.js @@ -679,7 +679,7 @@ module.controller('ApplicationDetailCtrl', function($scope, realm, application, $scope.application.protocol = $scope.protocol; $scope.application.attributes['saml.signature.algorithm'] = $scope.signatureAlgorithm; - if (!$scope.application.bearerOnly && (!$scope.application.redirectUris || $scope.application.redirectUris.length == 0)) { + if ($scope.application.protocol != 'saml' && !$scope.application.bearerOnly && (!$scope.application.redirectUris || $scope.application.redirectUris.length == 0)) { Notifications.error("You must specify at least one redirect uri"); } else { if ($scope.create) { diff --git a/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/application-detail.html b/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/application-detail.html index fbfedefcf6..2271ef74b7 100755 --- a/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/application-detail.html +++ b/forms/common-themes/src/main/resources/theme/admin/base/resources/partials/application-detail.html @@ -56,6 +56,20 @@ +
+ +
+ +
+ +
+
+ +
+ +
+ +
@@ -125,8 +139,22 @@
-
- +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+
-
+