opencreds / website

COMMUNITY: The W3C Credentials Community Group website.
https://opencreds.org/
Creative Commons Zero v1.0 Universal
8 stars 10 forks source link

Cleaned up JWT Example #69

Closed bsletten closed 8 years ago

bsletten commented 8 years ago

I cleaned up the JWT example. I added a header section, moved the alg and type to that as is more idiomatic and removed the key from the signature as that wouldn't travel with the credential. The signature would be submitted to the issuer to verify. The signature should verify against the previous key of "qwertyuiopasdfghjklzxcvbnm123456". You can combine the lines in the signature and verify it at https://jwt.io/#debugger-io.

burnburn commented 8 years ago

Thanks Brian. I'll put the key into the text for those who might want to verify it.