Merge pull request #808 from stianst/master
KEYCLOAK-726 Downloading a OAuth client installation file results on wro...
This commit is contained in:
commit
22ddf8b9d1
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