Merge pull request #2026 from Infisical/feat/allow-toggling-login-options-as-admin

feat: allowed toggling login options as admin
This commit is contained in:
Maidul Islam
2024-07-02 14:03:11 -04:00
committed by GitHub
21 changed files with 708 additions and 234 deletions
+11
View File
@@ -1,3 +1,13 @@
export enum LoginMethod {
EMAIL = "email",
GOOGLE = "google",
GITHUB = "github",
GITLAB = "gitlab",
SAML = "saml",
LDAP = "ldap",
OIDC = "oidc"
}
export type TServerConfig = {
initialized: boolean;
allowSignUp: boolean;
@@ -9,6 +19,7 @@ export type TServerConfig = {
isSecretScanningDisabled: boolean;
defaultAuthOrgSlug: string | null;
defaultAuthOrgId: string | null;
enabledLoginMethods: LoginMethod[];
};
export type TCreateAdminUserDTO = {