opus
opus copied to clipboard
SSI-Streetcred: User Login (VC Only)
Context: As users login to Opus they will make use of their Proof of Account Ownership verifiable credential (VC)- allowing them to demonstrate that it is in fact their account.
Opus will allow users to login solely with their wallet credentials, meaning that you do not need a username and password to get into the system everytime.
Issue: Currently there is no functionality to support verification of Proof of Account Ownership VCs.
Next steps: Familiarise yourself with Streetcred; this tutorial in particular illustrates the flow we expect user to undergo when signing up, and then attempting to log in to Opus: http://merged-demo.azurewebsites.net/
Implementation of the desired user flow:
- User navigates to Opus.
- A QR code is presented upon clicking login.
- Scanned by the user, which triggers a verification. This verification checks the VC held in the user's wallet against the registered accounts held in Opus' database- this is currently a Postgre DB in the main server.
- If the VC matches a registered username/email within the user database, they are logged in as that account.
Note: Create a dummy Opus organisation and a dummy credential definition to work with until this issue is solved.
For reference the starter code for the SSI branch is lifted from: https://github.com/streetcred-id/iiw-demo