From baa1545de65dba973bc2fbc78b6f4641da258b55 Mon Sep 17 00:00:00 2001 From: Michael Myers Date: Wed, 23 Oct 2024 16:21:55 -0500 Subject: [PATCH] Add channelId and device to SSOChallenge --- web/packages/teleport/src/services/auth/types.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/web/packages/teleport/src/services/auth/types.ts b/web/packages/teleport/src/services/auth/types.ts index 170d4eedee272..734cb53a53112 100644 --- a/web/packages/teleport/src/services/auth/types.ts +++ b/web/packages/teleport/src/services/auth/types.ts @@ -16,6 +16,8 @@ * along with this program. If not, see . */ +import { AuthProviderType } from 'shared/services'; + import { EventMeta } from 'teleport/services/userEvent'; import { IsMfaRequiredRequest, MfaChallengeScope } from './auth'; @@ -33,8 +35,14 @@ export type AuthnChallengeRequest = { }; export type SSOChallenge = { + channelId: string; redirectUrl: string; requestId: string; + device: { + connectorId: string; + connectorType: AuthProviderType; + displayName: string; + }; }; export type MfaAuthenticateChallenge = {