Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should Issuer Service be directly called? #405

Open
laysakura opened this issue Jul 19, 2024 · 4 comments
Open

Should Issuer Service be directly called? #405

laysakura opened this issue Jul 19, 2024 · 4 comments
Assignees
Labels
ready for PR Issue ready to be resolved via a Pull Request

Comments

@laysakura
Copy link
Contributor

vc-api/index.html

Lines 370 to 374 in 066f030

<p>
With the exception of the Status Service, all role-to-role communication
is between Coordinators acting on behalf of its particular actor to fulfill its
role.
</p>

The above paragraph states:

With the exception of the Status Service, all role-to-role communication is between Coordinators acting on behalf of its particular actor to fulfill its role.

But the https://w3c-ccg.github.io/vc-api/#issuer-service section says the GET /credentials in the Issuer Service is expected to be called from Holder Coordinator.

image

This inconsistency raises questions about the intended architecture and communication flow in the VC API specification.

@dlongley
Copy link
Contributor

The way the spec presents this particular endpoint is indeed confusing. I believe it is because the same endpoint can be provided by either a holder service (for use by a holder coordinator) or by an issuer service (for use by an issuer coordinator).

So, we need to clarify that the GET /credentials endpoint can be implemented by either a holder service OR an issuer service -- and then, depending on which service has implemented it, that determines which coordinator can call it. The aim here is not to indicate that a holder coordinator would make a call to an issuer service's /credentials, they would only make a call to a holder service's /credentials endpoint. Similarly, an issuer coordinator would only call an issuer service's /credentials endpoint, not one belonging to a holder service.

There may already be an outstanding PR (that may or may not have been pushed) that was designed to help address this, I recall perhaps @eric-schuh working on this. It could also just be that the current tooling that we have needs to be adjusted because it's conflating this information from tables or something when the spec is built, mixing it together in a way that results in a presentation in the spec that is confusing.

@laysakura
Copy link
Contributor Author

Thank you! I totally understood.

@msporny
Copy link
Contributor

msporny commented Jul 23, 2024

The group discussed this on the 2024-07-23 telecon:

It was agreed that the association with "Holder Coordinator" in this section is incorrect and the code that auto-generates this table needs to be fixed to be aware of which service it is generating the table for.

A PR needs to be raised to fix the code that auto-generates the table.

@msporny msporny added the ready for PR Issue ready to be resolved via a Pull Request label Jul 23, 2024
@eric-schuh eric-schuh self-assigned this Jul 30, 2024
@eric-schuh
Copy link
Collaborator

I assigned myself to take care of this, should have something in next week to fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready for PR Issue ready to be resolved via a Pull Request
Projects
None yet
Development

No branches or pull requests

4 participants