openid / OpenID4VP

49 stars 18 forks source link

co-existence of multiple query languages #211

Open Sakurann opened 1 month ago

Sakurann commented 1 month ago

I think we should have an idea how the co-existence of or transition between two query languages in OpenID4Vp will happen: PE v2 and a new one.

Is one or the other mandatory? for whom? How does the wallet know which query language it is receiving? does this mean we should define a different high level parameter that is not presentation_definition for a new query language?

Sakurann commented 1 month ago

discussed in a WG.

bc-pi commented 1 month ago

presentation_definition is a... um... silly name at best so no need to keep that

selfissued commented 1 month ago

I agree that the new query language should use its own parameter names.

David-Chadwick commented 1 month ago

I prefer a top level parameter called something like "query-language" and then beneath this there will be the query languages that we support - currently only two, but who knows what else in future? Remember that until a few months ago we only mandated one query language, now we support two. This proposed structure is future proof so that if we want to add a third in future the structure of the current two will not change.