Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions demo/vue/app/frontend/src/store/modules/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -77,7 +76,7 @@ export default {
window.location.replace(
getters.createLoginUrl(options) +
'&pres_req_conf_id=' +
getters.presReqConfId
getters.presReqConfId,
);
}
},
Expand All @@ -86,7 +85,7 @@ export default {
window.location.replace(
getters.createLogoutUrl({
redirectUri: `${location.origin}/${Vue.prototype.$config.basePath}`,
})
}),
);
}
},
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 @@ -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"
Expand Down