{"id":2316,"date":"2023-02-10T22:32:57","date_gmt":"2023-02-11T06:32:57","guid":{"rendered":"https:\/\/self-issued.info\/?p=2316"},"modified":"2023-02-11T14:40:12","modified_gmt":"2023-02-11T22:40:12","slug":"native-jwt-representation-for-verifiable-credentials","status":"publish","type":"post","link":"https:\/\/self-issued.info\/?p=2316","title":{"rendered":"Native JWT Representation for Verifiable Credentials"},"content":{"rendered":"<p><span class=\"plain\"><a href=\"http:\/\/www.w3.org\/\"><img decoding=\"async\" align=\"right\" src=\"https:\/\/self-issued.info\/images\/w3c_home.png\" alt=\"W3C logo\"><\/a><\/span>For the first time, there is now a native JSON Web Token (JWT) representation for Verifiable Credentials.  This representation uses IANA-registered JWT claims whenever applicable.  Among other improvements and simplifications, this means that we finally have a Verifiable Credentials representation that doesn&#8217;t require the use of JSON-LD.<\/p>\n<p>The native JWT representation explicitly isn&#8217;t a mapping from the VC Data Model.  This mapping in the VC 1.1 specification resulted in ambiguities about whether to duplicate VC Data Model claims in the VC-JWT representation (the &#8220;in addition to&#8221; option) or whether to delete them from the VC Data Model representation (the &#8220;instead of&#8221; option).  These ambiguities harmed interoperability.  Rather, the 2.0 VC-JWT representation is its own simpler native JWT data structure.<\/p>\n<p>See the new native JWT VC representation in the <a href=\"https:\/\/w3c.github.io\/vc-jwt\/#version-2\">Version 2 section of the &#8220;Securing Verifiable Credentials using JSON Web Tokens&#8221; specification<\/a>.  You can also compare it there to the <a href=\"https:\/\/w3c.github.io\/vc-jwt\/#version-1.1\">Version 1.1 representation<\/a>, which is a mapping from the VC Data Model with the &#8220;in addition to&#8221; and &#8220;instead of&#8221; choices.<\/p>\n<p>This accomplishment is the product of the vision, passion, and perseverance of many advocates of simplifying Verifiable Credentials.  Foremost among them is <a href=\"https:\/\/twitter.com\/OR13b\">Orie Steele<\/a> &#8211; my co-editor for the VC-JWT specification.  I&#8217;ll also observe that the <a href=\"https:\/\/github.com\/w3c\/vc-jwt\/pull\/44\">pull request creating this functionality<\/a> had an unprecedented fifteen approvers &#8211; an indication of the broad support for this direction for Verifiable Credentials.  I am proud to have played a role in making it happen.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>For the first time, there is now a native JSON Web Token (JWT) representation for Verifiable Credentials. This representation uses IANA-registered JWT claims whenever applicable. Among other improvements and simplifications, this means that we finally have a Verifiable Credentials representation that doesn&#8217;t require the use of JSON-LD. The native JWT representation explicitly isn&#8217;t a mapping [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,27,25,33],"tags":[],"class_list":["post-2316","post","type-post","status-publish","format-standard","hentry","category-claims","category-json","category-specifications","category-w3c"],"_links":{"self":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts\/2316","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2316"}],"version-history":[{"count":4,"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts\/2316\/revisions"}],"predecessor-version":[{"id":2320,"href":"https:\/\/self-issued.info\/index.php?rest_route=\/wp\/v2\/posts\/2316\/revisions\/2320"}],"wp:attachment":[{"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2316"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2316"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/self-issued.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2316"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}