Skip to content

Allow for empty scope array #262

@paullatzelsperger

Description

@paullatzelsperger

What's missing?

In certain circumstances it may be necessary to accept an empty scope array in the PresentationQueryMessage. In that case the spec should call for a CredentialService to respond with [0..N] Presentations that contain all the credentials the CredentialService is willing to disclose. Formally:

If the scope array is null, not present or empty, the CredentialService may decide the disclosure of credentials based solely on the access token or other parameters.

If the scope array is present, the behaviour must not change.

Why should it be in the spec?

in some situations, having an empty scope array is beneficial and makes the setup easier.

Where should this be added?

in the section about PresentationQuery

More context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageall new issues awaiting classification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions