Skip to content

Commit

Permalink
Update sample proof-request config
Browse files Browse the repository at this point in the history
Signed-off-by: Emiliano Suñé <[email protected]>
  • Loading branch information
esune committed Dec 11, 2024
1 parent dc2d02b commit 6ae3d65
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 12 deletions.
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,24 +57,19 @@ curl -X 'POST' \
-H 'accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"ver_config_id": "showcase-person",
"ver_config_id": "test-proof",
"subject_identifier": "",
"generate_consistent_identifier": true,
"proof_request": {
"name": "BC Wallet Showcase Person",
"name": "Test Proof-Request",
"version": "1.0",
"requested_attributes": [
{
"names": ["given_names", "family_name", "country"],
"names": ["attr1", "attr2", "attr3"],
"restrictions": [
{
"schema_name": "Person",
"issuer_did": "QEquAHkM35w4XVT3Ku5yat"
},
{
"schema_name": "Person",
"issuer_did": "RGjWbW1eycP7FrMf4QJvX8"
"schema_name": "test-schema",
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion demo/vue/app/frontend/src/store/modules/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default {
// In most cases, when this becomes populated, we end up doing a redirect flow,
// so when we return to the app, it is fresh again and undefined
redirectUri: undefined,
presReqConfId: 'showcase-person', //TODO: load this via config response
presReqConfId: 'test-proof', //TODO: load this via config response
},
getters: {
authenticated: () => Vue.prototype.$keycloak.authenticated,
Expand Down
2 changes: 1 addition & 1 deletion demo/vue/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
build: .
command: npm run serve
environment:
FRONTEND_KC_PRES_REQ_CONF_ID: showcase-person
FRONTEND_KC_PRES_REQ_CONF_ID: test-proof
FRONTEND_KC_SERVERURL: "http://localhost:8880/auth"
FRONTEND_KC_REALM: "vc-authn"
FRONTEND_KC_CLIENTID: "vue-fe"
Expand Down
2 changes: 1 addition & 1 deletion oidc-controller/api/core/oidc/tests/__mocks__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1326,7 +1326,7 @@
auth_session = AuthSession(
pres_exch_id="e444bc3e-346d-47d1-882d-39c014b8978c",
expired_timestamp=datetime.now() + timedelta(seconds=3000),
ver_config_id="showcase-person",
ver_config_id="test-proof",
request_parameters={
"scope": "openid vc_authn",
"state": "oFLNfUyzDtWHmc61dNiQZkVZRsRUUXZ5KZIiQBeQuJQ.xfaKQBh1xfQ.T02DEr3QRTmMUfjegc9fQQ",
Expand Down

0 comments on commit 6ae3d65

Please sign in to comment.