-
Notifications
You must be signed in to change notification settings - Fork 37
Description
Problem and Requirement
There are cases where a trust framework or federative model introduces the requirement to approve during onboarding, and consequently to include in the client metadata the data that the client is authorized to request from users, such as credentials and individual attributes associated with them.
Solution Proposed
New Parameter Name
A new parameter can be defined to be included in the metadata, which refers to presentation_definition but has a different name and purpose.
presentation_definitions_supported is the proposed name for this parameter.
Approach To The Problem
During the RP registration within a federation/eID network, the presentation_definitions_supported in the metadata contains all the supported presentation definitions on which the presentation_definition used in the presentation request can be filtered, based on the trust framework used and compliance evaluation mechanisms.
Technically, the presentation_definition obtained in the presentation request must contain all or some of the IDs found in presentation_definitions_supported published in the metadata, such that the corresponding IDs lead to the use of the definitions contained in the metadata.
The IDs are intended as the top level parameters that each presentation definition object must contain, since it is required according to PE version 2.0.
The presentation_definitions_supported type is ARRAY[Object].
This enables the application of policies on requests and metadata without breaking compatibility with the current approach.