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

OID4VP UI #46

Merged
merged 5 commits into from
Oct 22, 2024
Merged

OID4VP UI #46

merged 5 commits into from
Oct 22, 2024

Conversation

Juliano1612
Copy link
Member

This implements the UI for the OID4VP flow and adds an error page

@@ -15,4 +15,4 @@ val keyBase64 =
const val exampleSdJwt =
"eyJhbGciOiJFZERTQSJ9.eyJfc2RfYWxnIjoic2hhLTI1NiIsIkBjb250ZXh0IjpbImh0dHBzOi8vd3d3LnczLm9yZy9ucy9jcmVkZW50aWFscy92MiIsImh0dHBzOi8vcHVybC5pbXNnbG9iYWwub3JnL3NwZWMvb2IvdjNwMC9jb250ZXh0LTMuMC4zLmpzb24iXSwidHlwZSI6WyJWZXJpZmlhYmxlQ3JlZGVudGlhbCIsIk9wZW5CYWRnZUNyZWRlbnRpYWwiXSwiY3JlZGVudGlhbFN1YmplY3QiOnsiaWRlbnRpdHkiOlt7Ii4uLiI6ImxoeTloT3p6eWZZVFc0WWlockc4VVZRcHhFcWN1Nk9icFdvOVBhNExFRzAifSx7Imhhc2hlZCI6ZmFsc2UsImlkZW50aXR5SGFzaCI6ImpvaG4uc21pdGhAZXhhbXBsZS5jb20iLCJpZGVudGl0eVR5cGUiOiJlbWFpbEFkZHJlc3MiLCJzYWx0Ijoibm90LXVzZWQiLCJ0eXBlIjoiSWRlbnRpdHlPYmplY3QifV0sImFjaGlldmVtZW50Ijp7Im5hbWUiOiJUZWFtIE1lbWJlcnNoaXAiLCJ0eXBlIjoiQWNoaWV2ZW1lbnQifX0sImlzc3VlciI6eyJpZCI6ImRpZDpqd2s6ZXlKaGJHY2lPaUpGVXpJMU5pSXNJbU55ZGlJNklsQXRNalUySWl3aWEzUjVJam9pUlVNaUxDSjRJam9pYldKVU0yZHFPV0Z2T0dOdVMyODBNMHByY1ZSUFVtTkpRVkk0TUZnd1RVRlhRV05HWXpadlIxSk1ZeUlzSW5raU9pSmlPRlZPWTBoRE1tRkhRM0oxU1RaMFFsUldTVlkwZFc1WldFVnlTME00WkRSblJURkdaMHMwUTA1SkluMCMwIiwibmFtZSI6Ildvcmtmb3JjZSBEZXZlbG9wbWVudCBDb3VuY2lsIiwidHlwZSI6IlByb2ZpbGUifSwiYXdhcmRlZERhdGUiOiIyMDI0LTA5LTIzVDE4OjEyOjEyKzAwMDAiLCJuYW1lIjoiVGVhbU1lbWJlcnNoaXAifQ.0zGx7-Fkio8bS4EZW_odUu3F6FG7nvRVEbGKIte2OZPXGM12XEhTJptty-1ZUgPAtP_jiyU_KTP3hPrGKKNnBg~WyJoS25GV0g0R3J5dEdVMkFLUFNJSDdRIix7Imhhc2hlZCI6ZmFsc2UsImlkZW50aXR5SGFzaCI6IkpvaG4gU21pdGgiLCJpZGVudGl0eVR5cGUiOiJuYW1lIiwic2FsdCI6Im5vdC11c2VkIiwidHlwZSI6IklkZW50aXR5T2JqZWN0In1d~"

val trustedDids = MutableList(1) { "did:web:1741-24-113-196-42.ngrok-free.app:oid4vp:client" }
val trustedDids = MutableList(1) { "did:web:97ae-99-209-178-38.ngrok-free.app:oid4vp:client" }
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sbihel Can we setup a deployment of the companion service for an upcoming demo?

I'll open a PR with a dockerfile for the companion service. We have a work around using a tunneling service, but it may be preferable to have a designated endpoint.

@Ryanmtate Ryanmtate mentioned this pull request Oct 21, 2024
@Juliano1612 Juliano1612 merged commit 624a1bb into skit-459-oid4vp Oct 22, 2024
@Juliano1612 Juliano1612 deleted the feat/oid4vp-ui branch October 22, 2024 19:37
Ryanmtate added a commit that referenced this pull request Oct 22, 2024
* oid4vp integration

Signed-off-by: Ryan Tate <ryan.tate@spruceid.com>

* add sd jwt to credential pack

Signed-off-by: Ryan Tate <ryan.tate@spruceid.com>

* update latest mobile-sdk-rs snapshot

Signed-off-by: Ryan Tate <ryan.tate@spruceid.com>

* use startsWith for prefix instead of contains

Signed-off-by: Ryan Tate <ryan.tate@spruceid.com>

* OID4VP UI  (#46)

This implements the UI for the OID4VP flow and adds an error page

* List VC Playground Credentials (#47)

This refactors the credential display components to make them compatible with generic credential types and finishes the OID4VP and OID4VCI integrations.

---------

Signed-off-by: Ryan Tate <ryan.tate@spruceid.com>
Co-authored-by: Juliano Cézar Chagas Tavares <juliano.cezar@spruceid.com>
sprucekit-mobile-monorepo bot pushed a commit that referenced this pull request Nov 15, 2024
This adds some context files required for VC Playground VC 2.0 Issuance.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants