KEYCLOAK-2891: Add link to OpenID Endpoint Configuration to realm details page

We now show a link to the OIDC Endpoints configuration in the realm
details page.
This makes it easier for users to find the OIDC endpoints.
This commit is contained in:
Thomas Darimont 2016-04-21 20:23:12 +02:00
parent d016ea4116
commit 08320890b1
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>