Please contact us at{" "} diff --git a/src/modules/integrations/idp-sync/azure-ad/AzureAD.tsx b/src/modules/integrations/idp-sync/azure-ad/AzureAD.tsx index e64f2d6..a85d981 100644 --- a/src/modules/integrations/idp-sync/azure-ad/AzureAD.tsx +++ b/src/modules/integrations/idp-sync/azure-ad/AzureAD.tsx @@ -4,9 +4,10 @@ import { notify } from "@components/Notification"; import { SkeletonIntegration } from "@components/skeletons/SkeletonIntegration"; import useFetchApi, { useApiCall } from "@utils/api"; import dayjs from "dayjs"; +import { isEmpty } from "lodash"; import { RefreshCw, Settings } from "lucide-react"; import * as React from "react"; -import { useEffect, useState } from "react"; +import { useEffect, useMemo, useState } from "react"; import { useSWRConfig } from "swr"; import integrationImage from "@/assets/integrations/entra-id.png"; import { @@ -116,6 +117,11 @@ const ConfigurationButton = ({ config }: ConfigurationProps) => { }); }; + const lastSync = useMemo(() => { + if (isEmpty(logs)) return "Not synchronized"; + return "Synced " + dayjs().to(logs?.[0]?.timestamp); + }, [logs]); + return ( <>
+ Ensure that you have an an{" "} + + Okta user account + {" "} + with the following{" "} + + permissions + + .{" "} + { + "If you don't have the required permissions, ask your Okta administrator to grant them to you." + } +
+
+
Navigate to your Okta Admin Dashboard
++ Click Applications in the left menu then click on + Applications +
++ Click Create App Integration, select{" "} + SAML 2.0 and click Next +
+
+
+ Enter NetBird SCIM as the{" "} + App name and click Next +
++ Enter http://localhost as the Single sign-on + URL and Audience URI (SP Entity ID) and click Next +
++ Select App type as + This is an internal app that we have created + and click Finish +
+
+
Navigate to your Okta Admin Dashboard
++ Click Applications in the left menu then click on + Applications +
++ Select the NetBird SCIM application we created + earlier +
++ Click General tab and in App Settings{" "} + click Edit to update the settings +
++ Tick Enable SCIM provisioning and click{" "} + Save +
+
+
+ Click Provisioning tab and under{" "} + SCIM connection click + Edit +
++ Fill in the form with the following details +
++ Click on Test Connector Configuration to verify if + the SCIM configuration is working. After the test is completed, + make sure Create Users,{" "} + Update User Attributes, and{" "} + Push Groups were successful. +
++ Click Save +
+
+
+ Go to the Provisioning tab, and select the{" "} + To App settings and click Edit +
++ Enable Create Users,{" "} + Update User Attributes, and{" "} + Deactivate Users and click Save +
+
+
+ Go to the Assignments tab, select the{" "} + Assign and click Assign to Groups +
++ Select the groups you want to provision, and then select{" "} + Assign and click Save and Go Back +
++ Select Done after you have finished assigning + groups. At this point, all members of the groups assigned to the + application will be synced to NetBird. +
+
+
+ Go to the Push Groups tab, select{" "} + Push Groups and click{" "} + Find groups by name +
++ Search groups to push and then click Save. The + selected groups will then be synced to NetBird. +
+