NO LONGER MAINTAINED. See github.com/sil-org/idp-profile-ui
1.7K
Identity management UI for a given IdP that will help users establish good passwords, recovery optins and 2-Step Verification.
Install Docker, Docker Compose and Make
Project is managed with vue-cli.
This app is setup to run against HTTPS for U2F testing. In order to facilitate this traefik must be configured. Some values are located in the .env.local and some are located in the docker-compose.yml under the proxy service. See traefik docs for more information.
cp .env.dist .env.local and populate with appropriate values.cp app-id.dist.json public/app-id.json and ensure the UI's name will work for your U2F configuration.i18n support is built-in however the translation files must be generated and dropped into the src/locales folder with the appropriate name, e.g., en.json, fr.json, ko.json before the app is built.
make from the project root.An IdP infrastructure will be running locally and is required for authentication into the app's protected pages.
See notes in Environment section regarding HTTPS and traefik configuration.
silintl/idp-profile-ui) is located on Docker HubVUE_APP_API_BASE_URL must be populated as an environment variable so the UI knows how to communicate to the API.make is run, the project will be in development mode and any updates made to the code will automatically be reloaded.docker-compose.yml change the ui: container's command: npm run serve to command: npm run serve:prodmake distmakeCopy .env.dist to env.local and update the relevant values, e.g., a UI deployment would only require the UI-related variables be present and populated.
The following files can/should be replaced before running the build.
cp app-id.dist.json public/app-id.json and update the ids appropriately for U2F usagepublic/favicon.icosrc/assets/logo.pngmake dist can be used in a docker environment, otherwise the following steps can be used in a node environment:
npm install will install dependenciesnpm run build will produce the production-ready app in the project root's dist folder.dist can then be deployed.Content type
Image
Digest
Size
103.3 MB
Last updated
about 5 years ago
docker pull silintl/idp-profile-ui:4.0.3Pulls:
14
Last week