diff --git a/demo/vue/app/frontend/src/store/modules/auth.js b/demo/vue/app/frontend/src/store/modules/auth.js index 6e8caddd..ebe72cc2 100644 --- a/demo/vue/app/frontend/src/store/modules/auth.js +++ b/demo/vue/app/frontend/src/store/modules/auth.js @@ -19,7 +19,6 @@ 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 }, getters: { authenticated: () => Vue.prototype.$keycloak.authenticated, @@ -77,7 +76,7 @@ export default { window.location.replace( getters.createLoginUrl(options) + '&pres_req_conf_id=' + - getters.presReqConfId + getters.presReqConfId, ); } }, @@ -86,7 +85,7 @@ export default { window.location.replace( getters.createLogoutUrl({ redirectUri: `${location.origin}/${Vue.prototype.$config.basePath}`, - }) + }), ); } }, diff --git a/demo/vue/docker-compose.yaml b/demo/vue/docker-compose.yaml index 59d619c4..ab6d997c 100644 --- a/demo/vue/docker-compose.yaml +++ b/demo/vue/docker-compose.yaml @@ -5,7 +5,7 @@ services: build: . command: npm run serve environment: - FRONTEND_KC_PRES_REQ_CONF_ID: test-proof + FRONTEND_KC_PRES_REQ_CONF_ID: showcase-person FRONTEND_KC_SERVERURL: "http://localhost:8880/auth" FRONTEND_KC_REALM: "vc-authn" FRONTEND_KC_CLIENTID: "vue-fe"