Skip to content

MembershipCredential question #386

Discussion options

You must be logged in to vote

Long-winded answer

When a policy contains a constraint where the leftOperand that can be mapped to a VC, then the corresponding scope is constructed and attached to the access token. This mapping is done using a ScopeExtractor, e.g. the DataAccessCredentialScopeExtractor.

The problem we're facing though is the Catalog request, because it is the primordial request, and there is no prior interaction history, so there is no way for the provider to tell the consumer that it expects a MembershipCredential. The only remedy for that is to either attach the MembershipCredential in every DSP request, or specifically in the Catalog request.

Once this is done, the consumer knows he must send the mem…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@thomasrutger
Comment options

@paullatzelsperger
Comment options

@paullatzelsperger
Comment options

Answer selected by thomasrutger
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants