Comments (4)
I notice the docker .env file has sphereon2023
: https://github.com/Sphereon-Opensource/OID4VC-demo/blob/develop/docker/.env.oid4vci-demo-frontend#L2
from oid4vc-demo.
To use ngrok to tunnel to my locally running agent, I also had to change the credential_issuer
and credential_endpoint
in packages/agent/conf/dev/oid4vci_metadata/sphereon.json
:
It would be nice if the agent endpoint could be configured purely through env vars.
Does the correlationId
need to be a URL or can it be a URI that's not tied to the actual deployment address?
from oid4vc-demo.
Through experimentation with the public demo issuer at https://ssi.sphereon.com/demo/issuer/#/credentials/verify/request, I see it uses the sphereonWallet
definition ID (not sphereon
or sphereon2023
). Running the demo issuer locally, if I change packages/oid4vci-demo-frontend/.env.local
to have:
REACT_APP_OID4VP_AGENT_BASE_URL=https://ssi.sphereon.com/agent
REACT_APP_OID4VP_PRESENTATION_DEF_ID=sphereonWallet
REACT_APP_OID4VCI_AGENT_BASE_URL=https://ssi.sphereon.com/sphereon2023
REACT_APP_ENVIRONMENT=sphereon
PORT=5001
then the fetched auth request includes the correct claims
> vp_token
> presentation_definition
for the identity challenge:
...
"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?
from oid4vc-demo.
The demo agent doesn't have any definition with ID sphereonWallet
though. Is that definition missing from the open source?
from oid4vc-demo.
Related Issues (14)
- Unable to resolve DID document for did:web:dbc2023.test4.sphereon.com HOT 1
- Missing logo image on secret and classified pages
- Demo issuer fails with gateway timeout HOT 2
- resolver_error: Unable to resolve DID document for sphereon:ssi-wallet: invalidDid, HOT 2
- Bug: Module not found HOT 5
- Error when trying to acquire a credential. HOT 2
- Question about some SIOPv2 specification details HOT 3
- Question about the issuer demo HOT 4
- OID4VP issue HOT 3
- Errors in VC Issuance with Wallet (SIOP) & VC Presentation HOT 1
- Get Issued credentials HOT 1
- VC with status HOT 3
- Errors in SIOP flow using Sphereom Wallet
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oid4vc-demo.