openwallet-foundation / sd-jwt-js

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

pass Accept header `application/statuslist+jwt` in status list fetcher #234

Closed TimoGlastra closed 6 months ago

TimoGlastra commented 6 months ago

As it is expected that the status list in this format (the spec defines four formats): https://www.ietf.org/archive/id/draft-ietf-oauth-status-list-02.html#name-status-list-request

cre8 commented 6 months ago

I agree. We should set it as a default one and not the typical application/json. From my point of view it's fine to just fine to implement it in the default fetcher. There is no need that the user can pass it as a parameter and then the SDK is performing the correct request. see #230