Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use config for IDIR button on innkeeper #1448

Merged
merged 1 commit into from
Dec 3, 2024
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
1 change: 1 addition & 0 deletions deploy/traction/values-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ ui:
authority: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz
jwksUri: https://dev.loginproxy.gov.bc.ca/auth/realms/digitaltrust-citz/protocol/openid-connect/certs
extraQueryParams: '{"kc_idp_hint":"idir"}'
label: "IDIR"
reservationForm: >-
{
"formDataSchema": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<Button
class="w-full mt-5"
label="IDIR"
:label="config.frontend.oidc.label"
:loading="loading"
@click="oidcLogin"
/>
Expand All @@ -13,11 +13,14 @@
// State
import { useInnkeeperOidcStore } from '@/store';
import { storeToRefs } from 'pinia';
import { useConfigStore } from '../../store';
// PrimeVue/etc
import Button from 'primevue/button';
import { useToast } from 'vue-toastification';
const toast = useToast();

const { config } = storeToRefs(useConfigStore());

const innkeeperOidcStore = useInnkeeperOidcStore();
const { loading, error } = storeToRefs(useInnkeeperOidcStore());

Expand Down
Loading