Skip to content

Commit

Permalink
FI-2635: add asymmetric auth client info to landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall committed Mar 28, 2024
1 parent 8bd2dba commit 6db029b
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ public String showLandingView(Model model) {
model.addAttribute("publicClientId", properties.getPublicClientId());
model.addAttribute("confidentialClientId", properties.getConfidentialClientId());
model.addAttribute("confidentialClientSecret", properties.getConfidentialClientSecret());
model.addAttribute("asymmetricClientId", properties.getAsymmetricClientId());
model.addAttribute("bulkClientId", properties.getBulkClientId());
model.addAttribute("groupId", properties.getGroupId());

Expand Down
24 changes: 20 additions & 4 deletions src/main/webapp/WEB-INF/templates/landing.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,15 @@
</div>

<div class="form-group row">
<label for="clientId" class="col-sm-2 col-form-label">Public Client ID:</label>
<label for="publicClientId" class="col-sm-2 col-form-label">Public Client ID:</label>
<div class="col-sm-10">
<input type="text" readonly class="form-control-plaintext" id="publicClientId"
th:value="${publicClientId}">
</div>
</div>

<div class="form-group row">
<label for="clientId" class="col-sm-2 col-form-label">Confidential Client ID:</label>
<label for="confidentialClientId" class="col-sm-2 col-form-label">Confidential Client ID:</label>
<div class="col-sm-10">
<input type="text" readonly class="form-control-plaintext" id="confidentialClientId"
th:value="${confidentialClientId}">
Expand All @@ -81,13 +81,29 @@
</div>

<div class="form-group row">
<label for="clientSecret" class="col-sm-2 col-form-label">Confidential Client Secret:</label>
<label for="confidentialClientSecret" class="col-sm-2 col-form-label">Confidential Client Secret:</label>
<div class="col-sm-10">
<input type="text" readonly class="form-control-plaintext" id="confidentialClientId"
<input type="text" readonly class="form-control-plaintext" id="confidentialClientSecret"
th:value="${confidentialClientSecret}">
</div>
</div>

<div class="form-group row">
<label for="asymmetricClientId" class="col-sm-2 col-form-label">Asymmetric Client ID:</label>
<div class="col-sm-10">
<input type="text" readonly class="form-control-plaintext" id="asymmetricClientId"
th:value="${asymmetricClientId}">
</div>
</div>

<div class="form-group row">
<label for="asymmetricClientKey" class="col-sm-2 col-form-label">Asymmetric Client Key JWKS:</label>
<div class="col-sm-10">
<input type="text" readonly class="form-control-plaintext" id="asymmetricClientKey"
value="https://github.com/inferno-framework/smart-app-launch-test-kit/blob/main/lib/smart_app_launch/smart_jwks.json">
</div>
</div>

<div class="form-group row">
<label for="bulkEndpoint" class="col-sm-2 col-form-label">Bulk Url:</label>
<div class="col-sm-10">
Expand Down

0 comments on commit 6db029b

Please sign in to comment.