diff --git a/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js b/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js index 150f57fa76..5785790868 100755 --- a/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js +++ b/themes/src/main/resources/theme/base/admin/resources/js/controllers/clients.js @@ -1171,17 +1171,8 @@ module.controller('CreateClientCtrl', function($scope, realm, client, templates, $scope.save = function() { - $scope.client.protocol = $scope.protocol; - if ($scope.client.protocol == 'openid-connect' && !$scope.client.rootUrl) { - Notifications.error("You must specify the root URL of application"); - } - - if ($scope.client.protocol == 'saml' && !$scope.client.adminUrl) { - Notifications.error("You must specify the SAML Endpoint URL"); - } - Client.save({ realm: realm.realm, client: '' diff --git a/themes/src/main/resources/theme/base/admin/resources/partials/create-client.html b/themes/src/main/resources/theme/base/admin/resources/partials/create-client.html index 757f07712c..082de75bc2 100755 --- a/themes/src/main/resources/theme/base/admin/resources/partials/create-client.html +++ b/themes/src/main/resources/theme/base/admin/resources/partials/create-client.html @@ -58,14 +58,14 @@ {{:: 'client-template.tooltip' | translate}}
- +
{{:: 'root-url.tooltip' | translate}}
- +