Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CHAPI support for Share Credential Request workflow - Get Requests #263

Closed
bmuramatsu opened this issue Nov 8, 2022 · 6 comments
Closed
Assignees
Labels
enhancement New feature or request priority

Comments

@bmuramatsu
Copy link
Collaborator

bmuramatsu commented Nov 8, 2022

Add CHAPI support for Share Credential Request workflow.

Note: This issue is for presenting a credential from LCW (hence the Share Credential Request) part.
For support for issuing a VC into LCW, see issue #504

@bmuramatsu
Copy link
Collaborator Author

Works in Android, Build 52

@kayaelle kayaelle added the enhancement New feature or request label Mar 21, 2023
@kayaelle kayaelle changed the title Add CHAPI support for Share Credential Request workflow Add CHAPI support for Share Credential Request workflow - Get Requests Oct 2, 2023
@kayaelle
Copy link
Member

kayaelle commented Oct 2, 2023

@dmitrizagidulin - please add instructions for Atomic Jolt team

@alexfigtree
Copy link
Member

alexfigtree commented Jan 23, 2024

From @dmitrizagidulin:

CHAPI allows two workflows:
The store() workflow - getting a VC from an issuer INTO LCW. That part we have working (although the UX is awkward).
The get() workflow -- getting a VC FROM LCW to some webpage. (Or to some external API endpoint).

This ticket is about that second get() workflow.

At verifiers/Relying Party's web page, user is asked for a VC. User then clicks a button like 'Present Credential', and now the web page has to communicate with LCW, and get a credential out of there (with the user's permission)

How to test this second workflow (to see if we support it):

  1. Go through wallet setup again. (Uninstall / reinstall app, or go to Settings > Reset Wallet, and relaunch the app).
    This time, don't skip the Register step. Click on Register Wallet. You'll be taken to the register web page. click Register there. Then switch back to the wallet

  2. Now lets get a VC into the wallet (from flow 1).

  3. Go to https://vcplayground.org/issuer (in your mobile browser)

  4. In the upper right of the playground issuer webpage, click the Settings gear, select VC-API to any Wallet

  5. Click Issue Verifiable Credential blue button.

  6. Click Skip DID Authentication

  7. this should open LCW and present you with the VC, and an Accept/Decline screen. Accept credential, click Done on the wallet.

  8. And now it's time to present that VC you just got into the wallet, at a verifier.

  9. Now go to https://vcplayground.org/verifier (also mobile browser)

  10. Gear in the upper right, click VC-API to any Wallet. Select 2nd icon 'Open Badge'.

  11. Click Request Verifiable Presentation

  12. This should open up LCW, and present a 'Share VC' confirmation screen, if all is working

@alexfigtree
Copy link
Member

Issue blocked on #547.

@dmitrizagidulin
Copy link
Member

Ok, #547 has been fixed, but now blocked on issue #598

@alexfigtree
Copy link
Member

Both #547 and #598 have been closed, can now close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request priority
Projects
Status: Done (Deployed)
Development

No branches or pull requests

4 participants