As I understand the SD-JWT VC specification, the vct CAN be used to represent the type metadata URL, but i don't think it's invalid to use https:// uri for vct and not host type metadata?
Also the error message is the response of the VCT, which can be confusing. Instead of using response.text() as the error message, maybe it should be Error fetching type metadata. ${await response.text()}?
As I understand the SD-JWT VC specification, the
vct
CAN be used to represent the type metadata URL, but i don't think it's invalid to usehttps://
uri for vct and not host type metadata?Also the error message is the response of the VCT, which can be confusing. Instead of using
response.text()
as the error message, maybe it should beError fetching type metadata. ${await response.text()}
?