openwallet-foundation-labs / sd-jwt-js

A JavaScript implementation of the Selective Disclosure JWT (SD-JWT) spec.
https://sdjwt.js.org/
Apache License 2.0
36 stars 11 forks source link

Improve default fetcher for Statuslist #230

Closed cre8 closed 3 months ago

cre8 commented 3 months ago

We should align the default fetcher to the ietf spec, already mentioning in #225.

There we can use the response type to define the object type of the response (is it a jwt or a Json object).

We could event implement to guess it since there is no default value for the typical Json response