Skip to content

Commit

Permalink
getting consumerId from agreement in case there're delegations
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterITA committed Feb 20, 2025
1 parent 377db56 commit a606da5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ final case class AuthApiServiceImpl(
correlationId = fastGetOpt(contexts)(CORRELATION_ID_HEADER),
issuedAt = token.iat * 1000,
clientId = client.id.toString,
organizationId = client.consumerId.toString,
organizationId = purpose.states.agreement.consumerId.toString,
agreementId = purpose.states.agreement.agreementId.toString,
eserviceId = purpose.states.eservice.eserviceId.toString,
descriptorId = purpose.states.eservice.descriptorId.toString,
Expand Down

0 comments on commit a606da5

Please sign in to comment.