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's

Daniel Hougaarda9c1f278a150
diff --git a/backend/src/services/org/org-types.ts b/backend/src/services/org/org-types.ts
index a0c0b25c96..55742644bb 100644
--- a/backend/src/services/org/org-types.ts
+++ b/backend/src/services/org/org-types.ts
@@ -8,6 +8,7 @@ export type TUpdateOrgMembershipDTO = {
membershipId: string;
role: string;
actorOrgId?: string;
+ actorAuthMethod: ActorAuthMethod;
};
export type TDeleteOrgMembershipDTO = {
@@ -15,12 +16,14 @@ export type TDeleteOrgMembershipDTO = {
orgId: string;
membershipId: string;
actorOrgId?: string;
+ actorAuthMethod: ActorAuthMethod;
};
export type TInviteUserToOrgDTO = {
userId: string;
orgId: string;
actorOrgId?: string;
+ actorAuthMethod: ActorAuthMethod;
inviteeEmail: string;
};
@@ -35,6 +38,7 @@ export type TFindOrgMembersByEmailDTO = {
actorAuthMethod: ActorAuthMethod;
actorOrgId: string | undefined;
actorId: string;
+ actorAuthMethod: ActorAuthMethod;
orgId: string;
emails: string[];
};
@@ -43,6 +47,7 @@ export type TFindAllWorkspacesDTO = {
actor: ActorType;
actorId: string;
actorOrgId?: string;
+ actorAuthMethod: ActorAuthMethod;
orgId: string;
};