Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

feat(auth-domain): add idp initiated url in auth domain (#9721)

Vikrant Gupta8d61ee338be0
diff --git a/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx b/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx
index 31cc72aae0..2f8bd990a7 100644
--- a/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx
+++ b/frontend/src/container/OrganizationSettings/AuthDomain/index.tsx
@@ -6,6 +6,7 @@ import { ColumnsType } from 'antd/lib/table';
import deleteDomain from 'api/v1/domains/id/delete';
import listAllDomain from 'api/v1/domains/list';
import ErrorContent from 'components/ErrorModal/components/ErrorContent';
+import CopyToClipboard from 'periscope/components/CopyToClipboard';
import { useErrorModal } from 'providers/ErrorModalProvider';
import { useState } from 'react';
import { useQuery } from 'react-query';
@@ -32,6 +33,23 @@ const columns: ColumnsType<GettableAuthDomain> = [
<Toggle isDefaultChecked={value} record={record} />
),
},
+ {
+ title: 'IDP Initiated SSO URL',
+ dataIndex: 'relayState',
+ key: 'relayState',
+ width: 80,
+ render: (_, record: GettableAuthDomain): JSX.Element => {
+ const relayPath = record.authNProviderInfo.relayStatePath;
+ if (!relayPath) {
+ return (
+ <Typography.Text style={{ paddingLeft: '6px' }}>N/A</Typography.Text>
+ );
+ }
+
+ const href = `${window.location.origin}/${relayPath}`;
+ return <CopyToClipboard textToCopy={href} />;
+ },
+ },
{
title: 'Action',
dataIndex: 'action',
diff --git a/frontend/src/types/api/v1/domains/list.ts b/frontend/src/types/api/v1/domains/list.ts
index 14dd3e3617..0c66e91c52 100644
--- a/frontend/src/types/api/v1/domains/list.ts
+++ b/frontend/src/types/api/v1/domains/list.ts
@@ -11,6 +11,7 @@ export interface GettableAuthDomain {
orgId: string;
ssoEnabled: boolean;
ssoType: string;
+ authNProviderInfo: AuthNProviderInfo;
samlConfig?: SAMLConfig;
googleAuthConfig?: GoogleAuthConfig;
oidcConfig?: OIDCConfig;
@@ -42,3 +43,7 @@ export interface OIDCConfig {
export interface ClaimMapping {
email: string;
}
+
+export interface AuthNProviderInfo {
+ relayStatePath: string;
+}