Skip to content

docs: explain when to use discriminator or scope mappings - #266

Merged
wolf4ood merged 1 commit into
eclipse-edc:mainfrom
wolf4ood:docs/discriminator_mapping
Nov 24, 2026
Merged

wolf4ood merged 1 commit into
eclipse-edc:mainfrom
wolf4ood:docs/discriminator_mapping

Conversation

@wolf4ood

Copy link
Copy Markdown
Contributor

What this PR changes/adds

Adds a table to "Serving several dataspaces" on the Identity Hub page, comparing discriminator mappings and scope mappings: what they tell credentials apart by, what they match, and where they are defined. Discriminator mappings only distinguish credentials by JSON-LD context. Credentials that differ in anything else, such as their issuer, need scope mappings.

Why it does that

Follow-up of #264, which described both mechanisms for several dataspaces but not when to use which.

Further notes

List other areas of code that have changed but are not necessarily linked to the main feature. This could be method
signature changes, package declarations, bugs that were encountered and were fixed inline, etc.

Who will sponsor this feature?

Please @-mention the committer that will sponsor your feature.

Linked Issue(s)

Closes # <-- insert Issue number if one exists

Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

@wolf4ood
wolf4ood marked this pull request as ready for review November 24, 2026 16:30
@wolf4ood
wolf4ood requested a review from a team as a code owner November 24, 2026 16:30
@wolf4ood
wolf4ood merged commit 01574aa into eclipse-edc:main Nov 24, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants