diff --git a/.github/actions/chart_releaser/cr.yaml b/.github/actions/chart_releaser/cr.yaml index dc5f6966..6948bb52 100644 --- a/.github/actions/chart_releaser/cr.yaml +++ b/.github/actions/chart_releaser/cr.yaml @@ -1,4 +1,4 @@ -owner: bcgov -git-repo: vc-authn-oidc +owner: openwallet-foundation +git-repo: acapy-vc-authn-oidc git-base-url: https://api.github.com/ git-upload-url: https://uploads.github.com/ diff --git a/.github/workflows/chart_release.yaml b/.github/workflows/chart_release.yaml index 30aec428..5a1afb9d 100644 --- a/.github/workflows/chart_release.yaml +++ b/.github/workflows/chart_release.yaml @@ -27,77 +27,3 @@ jobs: config: .github/actions/chart_releaser/cr.yaml env: CR_TOKEN: "${{ secrets.GITHUB_TOKEN }}" - - update-configs-and-sync: - runs-on: ubuntu-latest - name: Update Configs and Sync - needs: - - chart-release - steps: - - uses: actions/checkout@v4 - - - name: Set up Git - run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "github-actions[bot]@users.noreply.github.com" - - - name: Checkout services directory from the trust-over-ip-configurations repo - uses: actions/checkout@v4 - with: - repository: bcgov/trust-over-ip-configurations - ssh-key: ${{ secrets.DITP_CONFIGS_REPO_SECRET }} - sparse-checkout: | - services - path: trust-over-ip-configurations - - - name: Lookup latest chart - id: chart_version - run: | - helm repo add vc-authn-oidc https://bcgov.github.io/vc-authn-oidc - helm repo update - echo "APP_VERSION=$(helm search repo vc-authn-oidc -ojson | jq '.[0].app_version')" >> $GITHUB_OUTPUT - echo "CHART_VERSION=$(helm search repo vc-authn-oidc -ojson | jq '.[0].version')" >> $GITHUB_OUTPUT - - - name: Update test - env: - APP_VERSION: ${{ steps.chart_version.outputs.APP_VERSION }} - CHART_VERSION: ${{ steps.chart_version.outputs.CHART_VERSION }} - run: | - cd trust-over-ip-configurations - yq e -i '.appVersion = env(APP_VERSION)' services/vc-authn-oidc/charts/test/Chart.yaml - yq e -i '.version = env(CHART_VERSION)' services/vc-authn-oidc/charts/test/Chart.yaml - yq e -i '.dependencies[0].version = env(CHART_VERSION)' services/vc-authn-oidc/charts/test/Chart.yaml - - - name: Update prod - env: - APP_VERSION: ${{ steps.chart_version.outputs.APP_VERSION }} - CHART_VERSION: ${{ steps.chart_version.outputs.CHART_VERSION }} - run: | - cd trust-over-ip-configurations - yq e -i '.appVersion = env(APP_VERSION)' services/vc-authn-oidc/charts/prod/Chart.yaml - yq e -i '.version = env(CHART_VERSION)' services/vc-authn-oidc/charts/prod/Chart.yaml - yq e -i '.dependencies[0].version = env(CHART_VERSION)' services/vc-authn-oidc/charts/prod/Chart.yaml - - - name: Commit and Push to trust-over-ip-configurations Repo - run: | - cd trust-over-ip-configurations - git add services/vc-authn-oidc/charts/test/Chart.yaml services/vc-authn-oidc/charts/prod/Chart.yaml - git commit -m "Update chart and app versions" || echo "No changes to commit" - git push origin main - - - name: Trigger and wait for GitOps sync workflow - uses: convictional/trigger-workflow-and-wait@v1.6.5 - id: workflow-trigger - with: - owner: bcgov - repo: trust-over-ip-configurations - github_token: ${{ secrets.DITP_CONFIGS_REPO_TOKEN }} - workflow_file_name: gitops_sync.yaml - - - name: Trigger ArgoCD Sync of e79518-test-vc-authn-oidc - uses: OpsVerseIO/argocd-sync@0.2.0 - with: - address: gitops-shared.apps.silver.devops.gov.bc.ca - token: ${{ secrets.DITP_GITOPS_ARGO_SECRET}} - action: sync - appName: "e79518-test-vc-authn-oidc" diff --git a/.github/workflows/on_push_main.yaml b/.github/workflows/on_push_main.yaml index 793feea4..dcc5ddd0 100644 --- a/.github/workflows/on_push_main.yaml +++ b/.github/workflows/on_push_main.yaml @@ -6,54 +6,11 @@ on: - main jobs: build: - name: "Build VC-AuthN" - if: github.repository_owner == 'bcgov' + name: "Build ACAPy VC-AuthN" + if: github.repository_owner == 'openwallet-foundation' uses: ./.github/workflows/publish.yml with: tag: "dev" ref: "main" platforms: "linux/amd64" - # Build vc-authn - deploy_dev: - name: Deploy VC-AuthN to Dev - environment: dev - runs-on: ubuntu-latest - needs: - - build - if: ${{ contains(needs.*.result, 'success') && !(contains(needs.*.result, 'failure')) && (github.repository_owner == 'bcgov') }} - - steps: - - uses: actions/checkout@v4 - - - name: Checkout services directory from the trust-over-ip-configurations repo - uses: actions/checkout@v4 - with: - repository: bcgov/trust-over-ip-configurations - ssh-key: ${{ secrets.DITP_CONFIGS_REPO_SECRET }} - sparse-checkout: | - services - path: trust-over-ip-configurations - - - name: Install OpenShift CLI tools - uses: redhat-actions/openshift-tools-installer@v1 - with: - oc: "4.14" - - - name: Authenticate and set context - uses: redhat-actions/oc-login@v1 - with: - openshift_server_url: ${{ secrets.OPENSHIFT_SERVER }} - openshift_token: ${{ secrets.OPENSHIFT_TOKEN }} - namespace: ${{ secrets.OPENSHIFT_NAMESPACE }} - - - name: Deploy VC-Authn-OIDC to Development - run: | - cp trust-over-ip-configurations/services/vc-authn-oidc/charts/dev/values.yaml ./dev-values.yaml - yq e -i 'del(.vc-authn-oidc) | . *= load("trust-over-ip-configurations/services/vc-authn-oidc/charts/dev/values.yaml").vc-authn-oidc' ./dev-values.yaml - helm upgrade --install vc-authn-oidc -f ./dev-values.yaml --set image.tag=${{ needs.build.outputs.image_version }} ./charts/vc-authn-oidc --wait - - - name: Restart Deployments - run: | - oc rollout restart deployment/vc-authn-oidc-agent - oc rollout restart deployment/vc-authn-oidc diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 5534c937..b6aa35b7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,5 @@ -name: Publish VC-AuthN Image -run-name: Publish VC-AuthN ${{ inputs.tag || github.event.release.tag_name }} Image +name: Publish ACAPy VC-AuthN Image +run-name: Publish ACAPy VC-AuthN ${{ inputs.tag || github.event.release.tag_name }} Image on: release: types: [published] @@ -47,11 +47,11 @@ env: jobs: publish_image: - if: github.repository_owner == 'bcgov' + if: github.repository_owner == 'openwallet-foundation' strategy: fail-fast: false - name: Publish VC-AuthN Image + name: Publish ACAPy VC-AuthN Image runs-on: ubuntu-latest outputs: image_tag: ${{ steps.values.outputs.image_tag }} @@ -90,7 +90,7 @@ jobs: uses: docker/metadata-action@v5 with: images: | - ghcr.io/${{ steps.info.outputs.repo-owner }}/vc-authn-oidc + ghcr.io/${{ steps.info.outputs.repo-owner }}/acapy-vc-authn-oidc tags: | type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} diff --git a/README.md b/README.md index 847779c9..b6074077 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,7 @@ -[![img](https://img.shields.io/badge/Lifecycle-Maturing-007EC6)](https://github.com/bcgov/repomountie/blob/master/doc/lifecycle-badges.md) [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE) -[![unit-tests](https://github.com/bcgov/vc-authn-oidc/actions/workflows/controller_unittests.yml/badge.svg?branch=main&event=push)](https://github.com/bcgov/vc-authn-oidc/actions/workflows/controller_unittests.yml) -[![Coverage Status](https://coveralls.io/repos/github/bcgov/vc-authn-oidc/badge.svg?branch=main)](https://coveralls.io/repos/github/bcgov/vc-authn-oidc/badge.svg?branch=main) +[![unit-tests](https://github.com/openwallet-foundation/acapy-vc-authn-oidc/actions/workflows/controller_unittests.yml/badge.svg?branch=main&event=push)](https://github.com/openwallet-foundation/acapy-vc-authn-oidc/actions/workflows/controller_unittests.yml) +[![Coverage Status](https://coveralls.io/repos/github/openwallet-foundation/acapy-vc-authn-oidc/badge.svg?branch=main)](https://coveralls.io/repos/github/openwallet-foundation/acapy-vc-authn-oidc/badge.svg?branch=main) # Verifiable Credential Authentication with OpenID Connect (VC-AuthN OIDC) @@ -58,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" } ] } diff --git a/charts/vc-authn-oidc/Chart.lock b/charts/vc-authn-oidc/Chart.lock index a5654050..6d691338 100644 --- a/charts/vc-authn-oidc/Chart.lock +++ b/charts/vc-authn-oidc/Chart.lock @@ -7,6 +7,6 @@ dependencies: version: 11.9.13 - name: common repository: https://charts.bitnami.com/bitnami - version: 2.19.3 -digest: sha256:25b2d378a440a3b9000f24974ea1f4a1f7b97bc502a13b27773845fdd31a4507 -generated: "2024-05-27T14:33:12.613817654-07:00" + version: 2.27.0 +digest: sha256:e042b769727234b98cc5062a3bdb8e7b2018ca37218d37613488c7cb8d60a0f2 +generated: "2024-12-11T10:22:34.2773539-08:00" diff --git a/charts/vc-authn-oidc/Chart.yaml b/charts/vc-authn-oidc/Chart.yaml index e2df979d..ffdc58c4 100644 --- a/charts/vc-authn-oidc/Chart.yaml +++ b/charts/vc-authn-oidc/Chart.yaml @@ -1,12 +1,12 @@ apiVersion: v2 name: vc-authn-oidc -description: A Helm chart to deploy VC-AuthN on OpenShift +description: A Helm chart to deploy ACAPy VC-AuthN on OpenShift type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.2.5 +version: 0.3.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/vc-authn-oidc/charts/common-2.19.3.tgz b/charts/vc-authn-oidc/charts/common-2.19.3.tgz deleted file mode 100644 index 88a859d0..00000000 Binary files a/charts/vc-authn-oidc/charts/common-2.19.3.tgz and /dev/null differ diff --git a/charts/vc-authn-oidc/charts/common-2.27.0.tgz b/charts/vc-authn-oidc/charts/common-2.27.0.tgz new file mode 100644 index 00000000..54431d62 Binary files /dev/null and b/charts/vc-authn-oidc/charts/common-2.27.0.tgz differ diff --git a/demo/vue/README.md b/demo/vue/README.md index 0e30f8ea..a53044d7 100644 --- a/demo/vue/README.md +++ b/demo/vue/README.md @@ -1,3 +1 @@ -# Demo App - -This demo is based on https://github.com/bcgov/vue-scaffold +# ACAPy VC-AuthN OIDC Demo App diff --git a/demo/vue/app/config/custom-environment-variables.json b/demo/vue/app/config/custom-environment-variables.json index 4156d238..007d92bb 100644 --- a/demo/vue/app/config/custom-environment-variables.json +++ b/demo/vue/app/config/custom-environment-variables.json @@ -23,18 +23,5 @@ "logFile": "SERVER_LOGFILE", "logLevel": "SERVER_LOGLEVEL", "port": "SERVER_PORT" - }, - "serviceClient": { - "commonServices": { - "ches": { - "endpoint": "SC_CS_CHES_ENDPOINT" - }, - "cdogs": { - "endpoint": "SC_CS_CDOGS_ENDPOINT" - }, - "tokenEndpoint": "SC_CS_TOKEN_ENDPOINT", - "username": "SC_CS_USERNAME", - "password": "SC_CS_PASSWORD" - } } -} +} \ No newline at end of file diff --git a/demo/vue/app/config/default.json b/demo/vue/app/config/default.json index b49aa8fe..0e33a3b7 100644 --- a/demo/vue/app/config/default.json +++ b/demo/vue/app/config/default.json @@ -1,30 +1,19 @@ { "frontend": { "apiPath": "api/v1", - "basePath" : "/app", + "basePath": "/app", "keycloak": { - "serverUrl": "https://dev.oidc.gov.bc.ca/auth" + "serverUrl": "" } }, "server": { "apiPath": "/api/v1", - "basePath" : "/app", + "basePath": "/app", "bodyLimit": "30mb", "keycloak": { - "serverUrl": "https://dev.oidc.gov.bc.ca/auth" + "serverUrl": "" }, "logLevel": "http", "port": "8080" - }, - "serviceClient": { - "commonServices": { - "ches": { - "endpoint": "https://ches-dev.pathfinder.gov.bc.ca/api" - }, - "cdogs": { - "endpoint": "https://cdogs-dev.pathfinder.gov.bc.ca/api" - }, - "tokenEndpoint": "https://dev.oidc.gov.bc.ca/auth/realms/jbd6rnxw/protocol/openid-connect/token" - } } -} +} \ No newline at end of file diff --git a/demo/vue/app/config/test.json b/demo/vue/app/config/test.json index 0b5497c5..a9e42a98 100644 --- a/demo/vue/app/config/test.json +++ b/demo/vue/app/config/test.json @@ -12,11 +12,5 @@ "clientSecret": "password" }, "logLevel": "silent" - }, - "serviceClient": { - "commonServices": { - "username": "username", - "password": "password" - } } } diff --git a/demo/vue/app/frontend/package-lock.json b/demo/vue/app/frontend/package-lock.json index 823b7347..53c4b7f5 100644 --- a/demo/vue/app/frontend/package-lock.json +++ b/demo/vue/app/frontend/package-lock.json @@ -10,7 +10,6 @@ "license": "Apache-2.0", "dependencies": { "@babel/eslint-parser": "^7.25.9", - "@bcgov/bc-sans": "^2.1.0", "@vue/eslint-config-prettier": "^10.1.0", "axios": "^1.7.7", "core-js": "^3.39.0", @@ -1837,11 +1836,6 @@ "node": ">=6.9.0" } }, - "node_modules/@bcgov/bc-sans": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/@bcgov/bc-sans/-/bc-sans-2.1.0.tgz", - "integrity": "sha512-1MesF4NAVpM5dywoJ68wNcBylHbPqg1dDV/FNuQm0BbspETGlPmfX8LG8rtrCjCAPhWuL2qRT/lBYDUMvFTUnw==" - }, "node_modules/@bcoe/v8-coverage": { "version": "0.2.3", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", @@ -6352,9 +6346,10 @@ } }, "node_modules/cross-spawn": { - "version": "6.0.5", + "version": "6.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-6.0.6.tgz", + "integrity": "sha512-VqCUuhcd1iB+dsv8gxPttb5iZh/D0iubSP21g36KXdEuf6I5JiioesUVjpCdHV9MZRUfVFlvwtIUyPfxo5trtw==", "dev": true, - "license": "MIT", "dependencies": { "nice-try": "^1.0.4", "path-key": "^2.0.1", @@ -6721,9 +6716,9 @@ } }, "node_modules/default-gateway/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -7777,9 +7772,9 @@ "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" }, "node_modules/eslint/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -9577,9 +9572,9 @@ } }, "node_modules/jest-changed-files/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", @@ -10879,9 +10874,9 @@ "dev": true }, "node_modules/jest-runtime/node_modules/cross-spawn": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", - "integrity": "sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==", + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, "dependencies": { "path-key": "^3.1.0", diff --git a/demo/vue/app/frontend/package.json b/demo/vue/app/frontend/package.json index 6fec82c2..e9e95971 100644 --- a/demo/vue/app/frontend/package.json +++ b/demo/vue/app/frontend/package.json @@ -18,7 +18,6 @@ }, "dependencies": { "@babel/eslint-parser": "^7.25.9", - "@bcgov/bc-sans": "^2.1.0", "@vue/eslint-config-prettier": "^10.1.0", "axios": "^1.7.7", "core-js": "^3.39.0", @@ -52,4 +51,4 @@ "optionalDependencies": { "fsevents": "^2.3.2" } -} +} \ No newline at end of file diff --git a/demo/vue/app/frontend/public/favicon.ico b/demo/vue/app/frontend/public/favicon.ico index 1841396d..956780a1 100644 Binary files a/demo/vue/app/frontend/public/favicon.ico and b/demo/vue/app/frontend/public/favicon.ico differ diff --git a/demo/vue/app/frontend/src/App.vue b/demo/vue/app/frontend/src/App.vue index 55c1fb5c..45392bc6 100644 --- a/demo/vue/app/frontend/src/App.vue +++ b/demo/vue/app/frontend/src/App.vue @@ -1,7 +1,7 @@ diff --git a/demo/vue/app/frontend/src/assets/images/OpenWallet_Foundation_Logo_Color.svg b/demo/vue/app/frontend/src/assets/images/OpenWallet_Foundation_Logo_Color.svg new file mode 100644 index 00000000..0721e457 --- /dev/null +++ b/demo/vue/app/frontend/src/assets/images/OpenWallet_Foundation_Logo_Color.svg @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/demo/vue/app/frontend/src/assets/images/bc_logo.svg b/demo/vue/app/frontend/src/assets/images/bc_logo.svg deleted file mode 100644 index 5ba3bb5d..00000000 --- a/demo/vue/app/frontend/src/assets/images/bc_logo.svg +++ /dev/null @@ -1 +0,0 @@ -bc_logo diff --git a/demo/vue/app/frontend/src/assets/images/bc_logo_print.svg b/demo/vue/app/frontend/src/assets/images/bc_logo_print.svg deleted file mode 100644 index aae06ff7..00000000 --- a/demo/vue/app/frontend/src/assets/images/bc_logo_print.svg +++ /dev/null @@ -1 +0,0 @@ -bc_logo_print diff --git a/demo/vue/app/frontend/src/assets/images/bc_logo_square.svg b/demo/vue/app/frontend/src/assets/images/bc_logo_square.svg deleted file mode 100644 index 8d228dc8..00000000 --- a/demo/vue/app/frontend/src/assets/images/bc_logo_square.svg +++ /dev/null @@ -1,22 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - diff --git a/demo/vue/app/frontend/src/assets/scss/style.scss b/demo/vue/app/frontend/src/assets/scss/style.scss index e11698b1..d7f049ea 100644 --- a/demo/vue/app/frontend/src/assets/scss/style.scss +++ b/demo/vue/app/frontend/src/assets/scss/style.scss @@ -1,15 +1,14 @@ /* - * BCGov Style * This globally extends the base Vuetify style */ @import '~vuetify/src/styles/styles.sass'; // Variables -$bcgov-blue: #003366; -$bcgov-blue-secondary: #38598a; -$bcgov-orange: #fcba19; -$bcgov-grey: #efefef; -$bcgov-font: #494949; +$custom-blue: #4066B2; +$custom-blue-secondary: #003399; +$custom-lightblue: #BFCBE5; +$custom-grey: #efefef; +$custom-font: #252525; // Sticky Footer body { @@ -33,12 +32,12 @@ h3 { font-size: 1.3em; } h4 { font-size: 1.05em; } h1, h2, h3, h4, h5 { - color: $bcgov-font; + color: $custom-font; line-height: 1.2; } p { - color: $bcgov-font; + color: $custom-font; line-height: 1.4; } @@ -47,7 +46,7 @@ hr { border-top: 1px solid lightgrey; margin-bottom: 1em; .orange { - border-top: 2px solid $bcgov-orange; + border-top: 2px solid $custom-lightblue; } } @@ -95,19 +94,19 @@ a, .v-tab { // Stepper .silv-stepper { .header-row { - background-color: $bcgov-grey !important; + background-color: $custom-grey !important; } &.v-stepper--alt-labels { .v-stepper__step { padding-left: 0; padding-right: 0; .v-stepper__label { - color: $bcgov-font; + color: $custom-font; font-size: .75em; } &.v-stepper__step--active { .v-stepper__label{ - color: $bcgov-font; + color: $custom-font; font-weight: bold; } } diff --git a/demo/vue/app/frontend/src/components/bcgov/BCGovFooter.vue b/demo/vue/app/frontend/src/components/bcgov/BCGovFooter.vue deleted file mode 100644 index 7cc60530..00000000 --- a/demo/vue/app/frontend/src/components/bcgov/BCGovFooter.vue +++ /dev/null @@ -1,59 +0,0 @@ - - - - - diff --git a/demo/vue/app/frontend/src/components/owf/OWFFooter.vue b/demo/vue/app/frontend/src/components/owf/OWFFooter.vue new file mode 100644 index 00000000..332ba19f --- /dev/null +++ b/demo/vue/app/frontend/src/components/owf/OWFFooter.vue @@ -0,0 +1,50 @@ + + + + + diff --git a/demo/vue/app/frontend/src/components/bcgov/BCGovHeader.vue b/demo/vue/app/frontend/src/components/owf/OWFHeader.vue similarity index 76% rename from demo/vue/app/frontend/src/components/bcgov/BCGovHeader.vue rename to demo/vue/app/frontend/src/components/owf/OWFHeader.vue index e1efa7a5..e5933abf 100644 --- a/demo/vue/app/frontend/src/components/bcgov/BCGovHeader.vue +++ b/demo/vue/app/frontend/src/components/owf/OWFHeader.vue @@ -1,9 +1,9 @@ diff --git a/demo/vue/app/frontend/src/main.js b/demo/vue/app/frontend/src/main.js index 345d4d3f..e0308ddc 100644 --- a/demo/vue/app/frontend/src/main.js +++ b/demo/vue/app/frontend/src/main.js @@ -1,5 +1,4 @@ import 'nprogress/nprogress.css'; -import '@bcgov/bc-sans/css/BCSans.css'; import '@/assets/scss/style.scss'; import axios from 'axios'; diff --git a/demo/vue/app/frontend/src/router/index.js b/demo/vue/app/frontend/src/router/index.js index 626a7dd2..5bc362a8 100644 --- a/demo/vue/app/frontend/src/router/index.js +++ b/demo/vue/app/frontend/src/router/index.js @@ -88,7 +88,7 @@ export default function getRouter(basePath = '/') { document.title = to.meta.title ? to.meta.title : process.env.VUE_APP_TITLE; - } else document.title = 'Demo VC-Authn-OIDC App'; // default title + } else document.title = 'Demo ACAPy VC-Authn-OIDC App'; // default title if (to.query.r && isFirstTransition) { router.replace({ diff --git a/demo/vue/app/frontend/src/store/modules/auth.js b/demo/vue/app/frontend/src/store/modules/auth.js index 6e8caddd..029a3c50 100644 --- a/demo/vue/app/frontend/src/store/modules/auth.js +++ b/demo/vue/app/frontend/src/store/modules/auth.js @@ -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, diff --git a/demo/vue/app/frontend/src/views/Home.vue b/demo/vue/app/frontend/src/views/Home.vue index 839612b0..f3862ab7 100644 --- a/demo/vue/app/frontend/src/views/Home.vue +++ b/demo/vue/app/frontend/src/views/Home.vue @@ -1,12 +1,12 @@