KEYCLOAK-12224 Use frontendUrl for ODIC discovery and SAML IdP metadata in admin console
This commit is contained in:
parent
a33957b773
commit
c74a081ad8
2 changed files with 3 additions and 2 deletions
|
@ -252,6 +252,7 @@ module.controller('RealmDetailCtrl', function($scope, Current, Realm, realm, ser
|
|||
$scope.serverInfo = serverInfo;
|
||||
$scope.realmName = realm.realm;
|
||||
$scope.disableRename = realm.realm == masterRealm;
|
||||
$scope.authServerUrl = authServerUrl;
|
||||
|
||||
if (Current.realm == null || Current.realm.realm != realm.realm) {
|
||||
for (var i = 0; i < Current.realms.length; i++) {
|
||||
|
|
|
@ -58,9 +58,9 @@
|
|||
<div class="form-group">
|
||||
<label class="col-md-2 control-label">{{:: 'endpoints' | translate}}</label>
|
||||
<div class="col-md-6">
|
||||
<a class="form-control" ng-href="{{authUrl}}/realms/{{realm.realm}}/.well-known/openid-configuration" target="_blank">{{:: 'realm-detail.protocol-endpoints.oidc' | translate}}</a>
|
||||
<a class="form-control" ng-href="{{authServerUrl}}/realms/{{realm.realm}}/.well-known/openid-configuration" target="_blank">{{:: 'realm-detail.protocol-endpoints.oidc' | translate}}</a>
|
||||
|
||||
<a class="form-control" ng-href="{{authUrl}}/realms/{{realm.realm}}/protocol/saml/descriptor" target="_blank">{{:: 'realm-detail.protocol-endpoints.saml' | translate}}</a>
|
||||
<a class="form-control" ng-href="{{authServerUrl}}/realms/{{realm.realm}}/protocol/saml/descriptor" target="_blank">{{:: 'realm-detail.protocol-endpoints.saml' | translate}}</a>
|
||||
</div>
|
||||
<kc-tooltip>{{:: 'realm-detail.protocol-endpoints.tooltip' | translate}}</kc-tooltip>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue