Skip to content

feat: get and update group IdP Sync settings #14647

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

Merged
merged 14 commits into from
Sep 16, 2024
Prev Previous commit
Next Next commit
revert ui change
  • Loading branch information
Emyrk committed Sep 16, 2024
commit 8449c9dd6c949cf1c215c2e39cb3c239e51d7f44
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { Interpolation, Theme } from "@emotion/react";
import { useTheme } from "@emotion/react";
import LaunchOutlined from "@mui/icons-material/LaunchOutlined";
import Button from "@mui/material/Button";
import Skeleton from "@mui/material/Skeleton";
Expand All @@ -25,15 +26,14 @@ export type IdpSyncPageViewProps = {
oidcConfig: OIDCConfig | undefined;
};

export const IdpSyncPageView: FC<IdpSyncPageViewProps> = ({
oidcConfig = {},
}) => {
export const IdpSyncPageView: FC<IdpSyncPageViewProps> = ({ oidcConfig }) => {
const theme = useTheme();
const {
groups_field,
user_role_field,
group_regex_filter,
group_auto_create,
} = oidcConfig;
} = oidcConfig || {};
return (
<>
<ChooseOne>
Expand Down
Loading