KEYCLOAK-12685 Set callback URI for identity providers to use frontend URL
This commit is contained in:
parent
a3e5f9d547
commit
c38baa32ba
1 changed files with 1 additions and 1 deletions
|
@ -1012,7 +1012,7 @@ module.controller('RealmIdentityProviderCtrl', function($scope, $filter, $upload
|
||||||
}
|
}
|
||||||
}, true);
|
}, true);
|
||||||
|
|
||||||
$scope.callbackUrl = encodeURI($location.absUrl().replace(/\/admin.*/, "/realms/") + realm.realm + "/broker/") ;
|
$scope.callbackUrl = authServerUrl + "/realms/" + realm.realm + "/broker/";
|
||||||
|
|
||||||
$scope.addProvider = function(provider) {
|
$scope.addProvider = function(provider) {
|
||||||
$location.url("/create/identity-provider/" + realm.realm + "/" + provider.id);
|
$location.url("/create/identity-provider/" + realm.realm + "/" + provider.id);
|
||||||
|
|
Loading…
Reference in a new issue