KEYCLOAK-726 Downloading a OAuth client installation file results on wrong JSON
This commit is contained in:
parent
5e8ca5a140
commit
3b23101365
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ module.controller('OAuthClientInstallationCtrl', function($scope, realm, install
|
|||
$scope.installation = installation;
|
||||
|
||||
$scope.download = function() {
|
||||
saveAs(new Blob([$scope.installation], { type: $scope.type }), 'keycloak.json');
|
||||
saveAs(new Blob([angular.toJson($scope.installation, true)], { type: 'application/json' }), 'keycloak.json');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue