diff --git a/frontend/src/component/user/common/AuthOptions/AuthOptions.tsx b/frontend/src/component/user/common/AuthOptions/AuthOptions.tsx index 3d6edb8cc9..ad3c22fb77 100644 --- a/frontend/src/component/user/common/AuthOptions/AuthOptions.tsx +++ b/frontend/src/component/user/common/AuthOptions/AuthOptions.tsx @@ -7,7 +7,6 @@ import { ConditionallyRender } from 'component/common/ConditionallyRender/Condit import type { IAuthOptions } from 'hooks/api/getters/useAuth/useAuthEndpoint'; import { SSO_LOGIN_BUTTON } from 'utils/testIds'; import useQueryParams from 'hooks/useQueryParams'; -import { useUiFlag } from 'hooks/useUiFlag'; interface IAuthOptionProps { options?: IAuthOptions[]; @@ -22,9 +21,8 @@ function addOrOverwriteRedirect(path: string, redirectValue: string): string { const AuthOptions = ({ options }: IAuthOptionProps) => { const { classes: themeStyles } = useThemeStyles(); - const oidcRedirectEnabled = useUiFlag('oidcRedirect'); const query = useQueryParams(); - const redirectPath = (oidcRedirectEnabled && query.get('redirect')) || ''; + const redirectPath = query.get('redirect') || ''; return ( <> diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index 523d82d4af..19263be2b3 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -94,7 +94,6 @@ export type UiFlags = { showUserDeviceCount?: boolean; flagOverviewRedesign?: boolean; licensedUsers?: boolean; - oidcRedirect?: boolean; }; export interface IVersionInfo {