Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Feat: Scoped JWT to organization, Add actorAuthMethod to DTO

Daniel Hougaard5b7562a76d4d
diff --git a/backend/src/ee/services/saml-config/saml-config-types.ts b/backend/src/ee/services/saml-config/saml-config-types.ts
index ec7c066fca..3ccc1e743e 100644
--- a/backend/src/ee/services/saml-config/saml-config-types.ts
+++ b/backend/src/ee/services/saml-config/saml-config-types.ts
@@ -1,5 +1,5 @@
import { TOrgPermission } from "@app/lib/types";
-import { ActorType } from "@app/services/auth/auth-type";
+import { ActorAuthMethod, ActorType } from "@app/services/auth/auth-type";
export enum SamlProviders {
OKTA_SAML = "okta-saml",
@@ -26,7 +26,14 @@ export type TUpdateSamlCfgDTO = Partial<{
TOrgPermission;
export type TGetSamlCfgDTO =
- | { type: "org"; orgId: string; actor: ActorType; actorId: string; actorOrgId?: string }
+ | {
+ type: "org";
+ orgId: string;
+ actor: ActorType;
+ actorId: string;
+ actorAuthMethod: ActorAuthMethod;
+ actorOrgId?: string;
+ }
| {
type: "orgSlug";
orgSlug: string;