Skip to content

Commit

Permalink
Make iat, jti and exp claims mandatory in DCR request
Browse files Browse the repository at this point in the history
  • Loading branch information
imesh94 committed Nov 13, 2024
1 parent 5d8cc6b commit bd0b584
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,24 @@ public RegistrationRequest getRegistrationRequest() {
return registrationRequest;
}

@Override
public String getJti() {

return registrationRequest.getJti();
}

@Override
public String getIat() {

return registrationRequest.getIat();
}

@Override
public String getExp() {

return registrationRequest.getExp();
}

@Override
public String getTokenEndPointAuthentication() {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -542,6 +542,15 @@ display = "ob-identifier-first"
name = "SMSAuthentication"
step = 2

[open_banking.dcr.registration.iat]
required = true

[open_banking.dcr.registration.exp]
required = true

[open_banking.dcr.registration.jti]
required = true

[open_banking.dcr.registration.grant_types]
allowed_values = ["authorization_code", "refresh_token", "client_credentials"]

Expand Down

0 comments on commit bd0b584

Please sign in to comment.