Open esune opened 4 months ago
Don't forget to add tests for the different way subject identifiers are generated while you are at it
For reference we are appending @<pres_req_conf_id>
For reference we are appending
@<pres_req_conf_id>
Yes, sorry for the confusion. The suffix will be the value of the pres_req_conf_id
used in that request.
In order to support scenarios where multiple
pres_req_conf_id
could yield the same value for the subject identifier (i.e.: a field with the same value is chosen as sub, the generated sub based on the credential payload is the same because of the content of the credential).In order to further "namespace" authentication requests, the subject identifier should be built with
@pres_req_conf_id
as a suffix, so that each proof-configuration will return a different value forsub
regardless of whether the credential contents are the same.