kaleido-io / kaleido-iden3-samples

Sample code for using the iden3 protocol to issue verifiable claims
Apache License 2.0
5 stars 4 forks source link

Add docver schema with DocumentStatus schema type #39

Closed nedgar closed 1 year ago

nedgar commented 1 year ago

WIP on extending the verifier server to support different examples of various claim schemas / types.

Just FYI @Chengxuan @jimthematrix. Please LMK if you're working on something similar or have any suggestions.

Next step: pass through example= and other query args from landing page to sign-in endpoint.

nedgar commented 1 year ago

@jimthematrix @Chengxuan I ended up adding two refactorings:

Please have a look and let me know what you think of this approach. I was able to test it end-to-end using the docver example.

I think we should allow the examples to have their own description / reason and show that in the QR page, and perhaps unique challenge IDs too. Do we need both the session ID and challenge IDs?

nedgar commented 1 year ago

We could also add an API endpoint to list the available examples, rather than hardcoding knowledge in the UI.

nedgar commented 1 year ago

Here's what the landing page looks like:

image
jimthematrix commented 1 year ago

sorry @nedgar , didn't notice your PR before making the refactoring to have the v1 and v2 top-level folders. Hope the conflict resolution isn't too bad.

nedgar commented 1 year ago

@jimthematrix No worries. I'll close this for now.