eu-digital-identity-wallet / eudi-lib-ios-wallet-kit

This repository contains the EUDI Wallet Kit library for iOS. The library is a part of the EUDI Wallet Reference Implementation project.
https://eu-digital-identity-wallet.github.io/eudi-lib-ios-wallet-kit/
Apache License 2.0
6 stars 8 forks source link

credential offer resolve problem #60

Open cindy-chin opened 3 weeks ago

cindy-chin commented 3 weeks ago

Hi, recently I was trying out the new QR code scanning, and I notice if the QR code contain only credential_offer_uri, it is working find, but when the QR code contain credential offer object, it turns out to have some issue.

this is the example of after the wallet do removingPercentEncoding, it seems strange for me. seems like some json decoding should be done.

eudi-openid4vci://?credential_offer={\"credential_issuer\":\" https://a3bb-116-14-111-226.ngrok-free.app\",\"credential_configuration_ids\":[\"eu.europa.ec.eudiw.pid_mso_mdoc\"],\"grants\":{\"authorization_code\":{\"authorization_server\":\"https://f17d-116-14-111-226.ngrok-free.app/idp/realms/pid-issuer-realm\"}}}"

Thank You

stzouvaras commented 2 weeks ago

Hi @cindy-chin ,

Thank you for your feedback. We are reviewing it and will get back to you soon.