1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

chore: remove oidc UI flag (#8949)

This commit is contained in:
Mateusz Kwasniewski 2024-12-10 11:56:50 +01:00 committed by GitHub
parent dfcb196b20
commit 7ff6a9c5c8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -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 (
<>

View File

@ -94,7 +94,6 @@ export type UiFlags = {
showUserDeviceCount?: boolean;
flagOverviewRedesign?: boolean;
licensedUsers?: boolean;
oidcRedirect?: boolean;
};
export interface IVersionInfo {