Skip to content

Commit

Permalink
Merge pull request #44 from imesh94/fix/dcr-mandatory-claims
Browse files Browse the repository at this point in the history
Make iat, jti and exp claims mandatory in DCR request
  • Loading branch information
Akila94 authored Nov 14, 2024
2 parents 58b89e1 + bd0b584 commit 0bdf795
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 0bdf795

Please sign in to comment.