Participant vs ParticipantAgent #4041
Unanswered
matthiasdg
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I noticed when I experimented with the iam oauth2-service that before I configured things correctly, I got upon a contract negotiation:
Contract agreement received. Validation failed: Invalid provider credentials
.Now I noticed this was due to
Connector/core/control-plane/contract-core/src/main/java/org/eclipse/edc/connector/contract/validation/ContractValidationServiceImpl.java
Line 108 in b6e26c1
where
agent.getIdentity()
andagreement.getProviderId()
must be equal. After looking into this, it seems agent.getIdentity was theclient_id
in my oauth2 client, while agreement.getProviderId isedc.participant.id
(through ContractCoreExtension). Seeing the explanation inParticipantAgent.java
I was a bit confused; doesedc.participant.id
also refer to a participant agent or to a participant?(It's just a question out of interest; in my case I just made sure my oauth2 client matches my participant.id and I have no use case for multiple agents for 1 participant)
Beta Was this translation helpful? Give feedback.
All reactions