Move oidc key id to key form (#2444)

This commit is contained in:
Maxime Besson 2021-01-20 00:31:55 +01:00
parent ebf1b0edbc
commit c49c675ae0
5 changed files with 8 additions and 3 deletions

View File

@ -1282,9 +1282,9 @@ sub tree {
group => [
'oidcServicePrivateKeySig',
'oidcServicePublicKeySig',
'oidcServiceKeyIdSig',
],
},
'oidcServiceKeyIdSig',
'oidcServiceAllowDynamicRegistration',
'oidcServiceAllowAuthorizationCodeFlow',
'oidcServiceAllowImplicitFlow',

View File

@ -735,6 +735,7 @@ llapp.controller 'TreeCtrl', [
$http.post("#{window.confPrefix}/newRSAKey", {"password": ''}).then (response) ->
currentNode.data[0].data = response.data.private
currentNode.data[1].data = response.data.public
currentNode.data[2].data = response.data.hash
$scope.waiting = false
, readError

View File

@ -13,6 +13,10 @@
<label for="privkfile" id="lprivkfile"><span trspan="replaceByFile"></span></label>
<input id="privkfile" aria-describedby="lprivkfile" type="file" class="form-control" on-read-file="replaceContent(currentNode.data[0],$fileContent)"/>
</div>
<div class="form-group">
<label for="keyid" id="lki"><span>{{translateTitle(currentNode.data[2])}}</span></label>
<input id="keyid" aria-describedby="lki" class="form-control" ng-model="currentNode.data[2].data"/>
</div>
</div>
<div class="col-xs-12 col-sm-12 col-md-6 col-lg-6">
<div class="form-group">

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long