bcgov / vc-authn-oidc

Apache License 2.0
143 stars 74 forks source link

Use hash for sub #562

Closed loneil closed 3 months ago

loneil commented 3 months ago

See https://github.com/bcgov/vc-authn-oidc/issues/561 for details

Create the canonicaljson bytes the same as before but hash that with sha256 for a fixed 64 chars

At the point where the token is gotten from: image

Now get a sub that looks like this: image