client-credentials-secret-jwt.html 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div>
  2. <form class="form-horizontal no-margin-top" name="credentialForm" novalidate kc-read-only="!client.access.configure" data-ng-controller="ClientSecretCtrl">
  3. <div class="form-group">
  4. <label class="col-md-2 control-label" for="secret">{{:: 'secret' | translate}}</label>
  5. <div class="col-sm-6">
  6. <div class="row">
  7. <div class="col-sm-6">
  8. <input readonly kc-select-action="click" class="form-control" type="text" id="secret" name="secret" data-ng-model="secret">
  9. </div>
  10. <div class="col-sm-6" data-ng-show="client.access.configure">
  11. <button type="submit" data-ng-click="changePassword()" class="btn btn-default">{{:: 'regenerate-secret' | translate}}</button>
  12. </div>
  13. </div>
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="col-md-2 control-label" for="tokenEndpointAuthSigningAlg">{{:: 'token-endpoint-auth-signing-alg' | translate}}</label>
  18. <div class="col-sm-6">
  19. <div>
  20. <select class="form-control" id="tokenEndpointAuthSigningAlg"
  21. ng-change="switchChange()"
  22. ng-model="tokenEndpointAuthSigningAlg">
  23. <option value=""></option>
  24. <option ng-repeat="provider in serverInfo.listProviderIds('clientSignature')" value="{{provider}}">{{provider}}</option>
  25. </select>
  26. </div>
  27. </div>
  28. <kc-tooltip>{{:: 'token-endpoint-auth-signing-alg.tooltip' | translate}}</kc-tooltip>
  29. </div>
  30. <div class="form-group">
  31. <div class="col-md-10 col-md-offset-2" data-ng-show="client.access.configure">
  32. <button kc-save data-ng-disabled="!changed" data-ng-click="save()">{{:: 'save' | translate}}</button>
  33. </div>
  34. </div>
  35. </form>
  36. </div>