Merge pull request #1569 from patriot1burke/master

KEYCLOAK-1721
This commit is contained in:
Bill Burke 2015-08-31 13:18:08 -04:00
commit 6ead008bf4

View file

@ -835,7 +835,7 @@ module.controller('RealmIdentityProviderCtrl', function($scope, $filter, $upload
}
}, true);
$scope.callbackUrl = $location.absUrl().replace(/\/admin.*/, "/realms/") + realm.realm + "/broker/" ;
$scope.callbackUrl = encodeURI($location.absUrl().replace(/\/admin.*/, "/realms/") + realm.realm + "/broker/") ;
$scope.addProvider = function(provider) {
$location.url("/create/identity-provider/" + realm.realm + "/" + provider.id);