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

presentation definition: only first path value is taken into account #3012

Open
ThierryThevenet opened this issue Oct 27, 2024 · 1 comment
Assignees
Labels

Comments

@ThierryThevenet
Copy link
Member

teh second value is not taken into account

{
    "id": "email_1",
    "input_descriptors": [
        {
            "id": "email_1_1",
            "constraints": {
                "fields": [
                    {
                        "path": [
                            "$.vc.credentialSubject.email",
                             "$.email"
                        ]
                    }
                ]
            }
        }
    ],
    "format": {
@ThierryThevenet
Copy link
Member Author

ThierryThevenet commented Nov 10, 2024

Get an EmailPass is jwt_vc_json with OIDC4VCI test 4

Present with OIDC4VP test 3

@bibash28

The rule is that the wallet must fetch from first path in array and stop if one VC is found

bibash28 added a commit that referenced this issue Nov 14, 2024
… one path must be satisfied, all fields should be satisfied #3012 #2882
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants