diff --git a/dops/src/enum/idp.enum.ts b/dops/src/enum/idp.enum.ts index cfee8babb..ab45b4f46 100644 --- a/dops/src/enum/idp.enum.ts +++ b/dops/src/enum/idp.enum.ts @@ -1,5 +1,6 @@ export enum IDP { - BCEID = 'bceidboth', + // Revert to bceidboth when basic bceid is enabled. + BCEID = 'bceidbusiness', IDIR = 'idir', SERVICE_ACCOUNT = 'SERVICE_ACCOUNT', } diff --git a/frontend/src/common/authentication/Authentication.tsx b/frontend/src/common/authentication/Authentication.tsx index d61e92643..a6c37863a 100644 --- a/frontend/src/common/authentication/Authentication.tsx +++ b/frontend/src/common/authentication/Authentication.tsx @@ -15,7 +15,7 @@ const LoginOptions = () => { variant="contained" onClick={() => { signinRedirect({ - extraQueryParams: { kc_idp_hint: IDPS.BCEID }, + extraQueryParams: { kc_idp_hint: IDPS.BUSINESS_BCEID }, }); }} sx={{ width: "200px" }} diff --git a/frontend/src/common/components/idpredirect/IDPRedirect.tsx b/frontend/src/common/components/idpredirect/IDPRedirect.tsx index abbed0b78..9c0de6554 100644 --- a/frontend/src/common/components/idpredirect/IDPRedirect.tsx +++ b/frontend/src/common/components/idpredirect/IDPRedirect.tsx @@ -16,6 +16,7 @@ const IDPRedirect = () => { switch(paramValue) { case IDPS.IDIR: case IDPS.BCEID: + case IDPS.BUSINESS_BCEID: signinRedirect({ extraQueryParams: { kc_idp_hint: paramValue }, }); diff --git a/frontend/src/common/types/idp.ts b/frontend/src/common/types/idp.ts index fae715287..4c19314ce 100644 --- a/frontend/src/common/types/idp.ts +++ b/frontend/src/common/types/idp.ts @@ -1,6 +1,7 @@ export const IDPS = { BCEID: "bceidboth", IDIR: "idir", + BUSINESS_BCEID: "bceidbusiness", } as const; export type IDP = (typeof IDPS)[keyof typeof IDPS]; diff --git a/policy/src/enum/idp.enum.ts b/policy/src/enum/idp.enum.ts index cfee8babb..ab45b4f46 100644 --- a/policy/src/enum/idp.enum.ts +++ b/policy/src/enum/idp.enum.ts @@ -1,5 +1,6 @@ export enum IDP { - BCEID = 'bceidboth', + // Revert to bceidboth when basic bceid is enabled. + BCEID = 'bceidbusiness', IDIR = 'idir', SERVICE_ACCOUNT = 'SERVICE_ACCOUNT', } diff --git a/vehicles/src/common/enum/idp.enum.ts b/vehicles/src/common/enum/idp.enum.ts index d2df22ca3..523911edb 100644 --- a/vehicles/src/common/enum/idp.enum.ts +++ b/vehicles/src/common/enum/idp.enum.ts @@ -1,5 +1,6 @@ export enum IDP { - BCEID = 'bceidboth', + // Revert to bceidboth when basic bceid is enabled. + BCEID = 'bceidbusiness', IDIR = 'idir', SERVICE_ACCOUNT = 'service_account', }