nuts-foundation / nuts-node

The reference implementation of the Nuts specification. A decentralized identity network based on the w3c ssi concepts with practical functionality for the healthcare domain.
https://nuts-foundation.gitbook.io
GNU General Public License v3.0
23 stars 15 forks source link

Demo issuing credentials to a mobile wallet #2384

Closed reinkrul closed 6 months ago

reinkrul commented 1 year ago

To prove the node is compatible with OpenID4VCI, it should be able to issue credentials to a generic wallet. This requires the following:

Actual use case/demo

Allow users to log into Demo EHR using an EmployeeCredential in their wallet. The pre-authorized code flow for issuing VCs applies to this use case, so we don't need the authorization code flow in this case. However, we currently issue the credential before offering it to the wallet. Since we don't know the mobile wallet's DID upfront (e.g. did:jwk) we can only issue it when the wallet requests the credential (since it contains proof containing the wallet's DID).

This requires additionally:

reinkrul commented 6 months ago

We demo-ed this with Sphereon Wallet, MS Authenticator didn't work at that time (since it doesn't support OpenID4VCI). There are new POCs that do this.