From 760f9d487cfa06ae25904fb6eef09d90914964c5 Mon Sep 17 00:00:00 2001 From: Meet Date: Thu, 19 Sep 2024 01:23:24 +0530 Subject: [PATCH] chore: UI improvements --- .../AzureEntraIdSetup.tsx | 4 ++- .../callback/AzureEntraIdCallbackPage.tsx | 29 +++++++++++-------- 2 files changed, 20 insertions(+), 13 deletions(-) diff --git a/frontend/src/views/SecretMainPage/components/ActionBar/CreateDynamicSecretForm/AzureEntraIdSetup.tsx b/frontend/src/views/SecretMainPage/components/ActionBar/CreateDynamicSecretForm/AzureEntraIdSetup.tsx index c1fbe123d..eb2521017 100644 --- a/frontend/src/views/SecretMainPage/components/ActionBar/CreateDynamicSecretForm/AzureEntraIdSetup.tsx +++ b/frontend/src/views/SecretMainPage/components/ActionBar/CreateDynamicSecretForm/AzureEntraIdSetup.tsx @@ -7,6 +7,8 @@ type Props = { onCancel: () => void; }; +const MSFT_ENTRA_ID_APPLICATION_ID = "9805c35f-88d4-4625-9daf-66f741e4129c" + export const AzureEntraIdSetup = ({ onCompleted, onCancel, @@ -52,7 +54,7 @@ export const AzureEntraIdSetup = ({
- + diff --git a/frontend/src/views/callback/AzureEntraIdCallbackPage.tsx b/frontend/src/views/callback/AzureEntraIdCallbackPage.tsx index 0692c8ecf..5950bfa79 100644 --- a/frontend/src/views/callback/AzureEntraIdCallbackPage.tsx +++ b/frontend/src/views/callback/AzureEntraIdCallbackPage.tsx @@ -25,29 +25,34 @@ export const AzureEntraIdCallbackPage = () => { />
-

- Installed Entra Id App successfully -

- -
-
-
-
+
+
-

+

+

+ Copy Tenant ID add and paste it in the dynamic secret configuration. +

{" "} +

+
+
+
+
+

Tenant ID

{" "}
-
-

{router.query.tenant}

+
+

{router.query.tenant}

{ if (typeof router.query.tenant === "string") { navigator.clipboard.writeText(router.query.tenant);