Merge pull request #2884 from thomasdarimont/issue/KEYCLOAK-2891-link-to-oidc-endpoints-from-admin-console

KEYCLOAK-2891: Add link to OpenID Endpoint Configuration to realm details page.
This commit is contained in:
Bill Burke 2016-06-05 11:06:11 -04:00
commit a76a4730e3
2 changed files with 10 additions and 0 deletions

View file

@ -17,9 +17,11 @@ selectOne=Select One...
true=True
false=False
endpoints=Endpoints
# Realm settings
realm-detail.enabled.tooltip=Users and clients can only access a realm if it's enabled
realm-detail.oidc-endpoints.tooltip=Shows the configuration of the OpenID Connect endpoints
registrationAllowed=User registration
registrationAllowed.tooltip=Enable/disable the registration page. A link for registration will show on login page too.
registrationEmailAsUsername=Email as username

View file

@ -31,6 +31,14 @@
<kc-tooltip>{{:: 'realm-detail.enabled.tooltip' | translate}}</kc-tooltip>
</div>
<div class="form-group">
<label class="col-md-2 contr ol-label">{{:: 'endpoints' | translate}}</label>
<div class="col-md-6">
<a lass="form-control" ng-href="/auth/realms/{{realm.id}}/.well-known/openid-configuration" target="_blank">OpenID Endpoint Configuration</a>
</div>
<kc-tooltip>{{:: 'realm-detail.oidc-endpoints.tooltip' | translate}}</kc-tooltip>
</div>
<div class="form-group">
<div class="col-md-10 col-md-offset-2" data-ng-show="createRealm && access.manageRealm">
<button kc-save data-ng-show="changed">{{:: 'save' | translate}}</button>