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

Validate VC in JWT format for matching sub and credentialSubject.id #126

Open
stevenvegt opened this issue Feb 11, 2025 · 0 comments
Open

Comments

@stevenvegt
Copy link
Member

stevenvegt commented Feb 11, 2025

Credentials in JWT format has 2 ways of defining a subject:

{
  "sub": "did:web:123",
  "vc": {
    "credentialSubject": {
      "id":"did:web:123"
    }
}

Parsing should warn or error if these fields are not equal?

@stevenvegt stevenvegt changed the title Validate VC in JWT format for matching iss and credentialSubject.id Validate VC in JWT format for matching sub and credentialSubject.id Feb 11, 2025
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

No branches or pull requests

1 participant