mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 18:27:19 +00:00
Feat: Scoped JWT to organization, Add actorAuthMethod to DTO
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
import { TOrgPermission } from "@app/lib/types";
|
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 {
|
export enum SamlProviders {
|
||||||
OKTA_SAML = "okta-saml",
|
OKTA_SAML = "okta-saml",
|
||||||
@@ -26,7 +26,14 @@ export type TUpdateSamlCfgDTO = Partial<{
|
|||||||
TOrgPermission;
|
TOrgPermission;
|
||||||
|
|
||||||
export type TGetSamlCfgDTO =
|
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";
|
type: "orgSlug";
|
||||||
orgSlug: string;
|
orgSlug: string;
|
||||||
|
|||||||
Reference in New Issue
Block a user