Skip to content

Commit bc6aa36

Browse files
committed
fix: relabel consent creation forms from Give Consent to Create Consent
These forms only lodge the account-access consent (client_credentials, status AWAITINGAUTHORISATION/received) — the PSU has not authorised anything yet at this step. The actual grant happens later on the OIDC -> Portal SCA flow. Give Consent was misleading; the OBP consent form already used the correct Create Consent Request wording.
1 parent fa31e11 commit bc6aa36

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/main/resources/templates/index_bg.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<div class="row">
3535

3636
<div class="col-sm-6 col-lg-offset-3">
37-
<h2>Give Consent</h2>
37+
<h2>Create Consent</h2>
3838
<form th:action="@{/request_consents_bg}" method="post">
3939
<div class="form-group">
4040
<label for="bank">Select your Bank</label>
@@ -75,7 +75,7 @@ <h2>Give Consent</h2>
7575
checked>
7676
<label for="recurring_indicator">Recurring indicator</label>
7777
</div>
78-
<button type="submit" class="btn btn-danger">Give Consent</button>
78+
<button type="submit" class="btn btn-danger">Create Consent</button>
7979
</form>
8080
<div class="alert alert-info alert-dismissible col-md-12" role="alert" th:if="${errorMsg}">
8181
<button type="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">&times;</span></button>

src/main/resources/templates/index_uk.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<div class="container">
3030
<div class="row">
3131
<div class="col-sm-6 col-lg-offset-3">
32-
<h2>Give Consent</h2>
32+
<h2>Create Consent</h2>
3333
<form th:action="@{/request_consents}" method="post">
3434
<div class="form-group">
3535
<label for="bank">Select your Bank</label>
@@ -64,7 +64,7 @@ <h2>Give Consent</h2>
6464
<label for="transaction_to_time">Expiration Date Time</label>
6565
<input type="text" name="expiration_time" id="expiration_time" class="form-control" data-date-format="YYYY-MM-DDTHH:mm:ss">
6666
</div>
67-
<button type="submit" class="btn btn-success">Give Consent</button>
67+
<button type="submit" class="btn btn-success">Create Consent</button>
6868
</form>
6969
</div>
7070
</div>

src/main/resources/templates/index_uk4.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<div class="container">
3030
<div class="row">
3131
<div class="col-sm-6 col-lg-offset-3">
32-
<h2>Give Consent (UK Open Banking v4.0.1)</h2>
32+
<h2>Create Consent (UK Open Banking v4.0.1)</h2>
3333
<form th:action="@{/request_consents_uk4}" method="post">
3434
<div class="form-group">
3535
<label for="bank">Select your Bank</label>
@@ -64,7 +64,7 @@ <h2>Give Consent (UK Open Banking v4.0.1)</h2>
6464
<label for="transaction_to_time">Expiration Date Time</label>
6565
<input type="text" name="expiration_time" id="expiration_time" class="form-control" data-date-format="YYYY-MM-DDTHH:mm:ss">
6666
</div>
67-
<button type="submit" class="btn btn-success">Give Consent</button>
67+
<button type="submit" class="btn btn-success">Create Consent</button>
6868
</form>
6969
</div>
7070
</div>

0 commit comments

Comments
 (0)