-
Notifications
You must be signed in to change notification settings - Fork 8
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
Problem with local dev config for demo issuer front-end #10
Comments
I notice the docker .env file has |
To use ngrok to tunnel to my locally running agent, I also had to change the
It would be nice if the agent endpoint could be configured purely through env vars. Does the |
Through experimentation with the public demo issuer at https://ssi.sphereon.com/demo/issuer/#/credentials/verify/request, I see it uses the
then the fetched auth request includes the correct ...
"claims": {
"vp_token": {
"presentation_definition": {
"id": "sphereonWallet",
"purpose": "You need to prove your Wallet Identity data",
"submission_requirements": [
{
"name": "Sphereon Wallet Identity",
"rule": "pick",
"min": 0,
"max": 1,
"from": "A"
}
],
"input_descriptors": [
{
"id": "SphereonWalletId",
"purpose": "Checking your Sphereon Wallet information",
"name": "Wallet Identity",
"group": [
"A"
],
"schema": [
{
"uri": "https://sphereon-opensource.github.io/ssi-mobile-wallet/context/sphereon-wallet-identity-v1.jsonld"
}
]
}
]
}
}
},
... However, the Sphereon Wallet App now hangs and times out with a 504 gateway error when trying to fetch this. Fetching it at the same URL from my laptop works OK. Strange. Does the wallet use a proxy? |
The demo agent doesn't have any definition with ID |
I'm trying to run the issuer front-end locally on my dev machine, either against the local agent (via ngrok) or the one at https://ssi.sphereon.com.
In
.env.local
, copied from.env
per the instructions, should it have:REACT_APP_OID4VP_PRESENTATION_DEF_ID=sphereon
(like in the.env
file)or
REACT_APP_OID4VP_PRESENTATION_DEF_ID=sphereon2023
(like in the README)Example
packages/oid4vci-demo-frontend/.env.local
:With
REACT_APP_OID4VP_PRESENTATION_DEF_ID
assphereon
, trying to log in with the Sphereon ID wallet app (latest iOS version) fails with:The payload of the auth request JWT doesn't contain any claims, and the app isn't resilient to that, surfacing the low level error.
If I change it to
sphereon2023
, it gets further, but the wallet prompts for the guest credential, not the primary wallet ID credential. In the expected demo flow, this is only issued later, after authenticating.If instead I enter the auth info manually, it goes through OK to issuing the guest credential
@nklomp I see there have been recent changes here. Could you please clarify?
The text was updated successfully, but these errors were encountered: