Azure-Samples / active-directory-verifiable-credentials

A code sample demonstrating how to use Azure Active Directory's preview functionality to issue and consume verifiable credentials.
107 stars 64 forks source link

Can't find generate.js file to generate personal DID #36

Closed x0rmen0t closed 2 years ago

x0rmen0t commented 3 years ago

Run node ./generate.js to generate a new DID for website and create keys in your Key Vault mentioned here: https://github.com/Azure-Samples/active-directory-verifiable-credentials/tree/main/verifier

jasoncys commented 3 years ago

I started from here: https://docs.microsoft.com/en-us/azure/active-directory/verifiable-credentials/issue-verify-verifiable-credentials-your-tenant and it works fine. Hope it helps.

Run node ./generate.js to generate a new DID for website and create keys in your Key Vault mentioned here: https://github.com/Azure-Samples/active-directory-verifiable-credentials/tree/main/verifier

davehorsfall commented 3 years ago

I had this issue last week when I started with this repo. I discovered that 'generate.js' was removed some months ago because it is no longer needed. I just skipped that step and the implementation still works ok.

x0rmen0t commented 3 years ago

@jasoncys yes i went to that doc as well, but unfortunately when i try to verify credentials it look s like it is not recognizing my AAD and the claims ( name and last name) returned as undefined :( i though i have to generate new keys with generate.js for a new DID... Do you use Microsoft authenticatior as wallet or your costume wallet?

x0rmen0t commented 3 years ago

I had this issue last week when I started with this repo. I discovered that 'generate.js' was removed some months ago because it is no longer needed. I just skipped that step and the implementation still works ok.

thank you!

mahoekst commented 2 years ago

Sorry, correct, no need for generate.js anymore, we are using the DID which is created when you setup the AAD VC Service.