feature: oidc support for oidc and only display saml/oidc login if enforced

This commit is contained in:
Scott Wilson
2024-10-31 15:13:13 -07:00
parent 332ca61f5d
commit df7b55606e
8 changed files with 108 additions and 17 deletions
+2
View File
@@ -19,6 +19,8 @@ export type TServerConfig = {
isSecretScanningDisabled: boolean;
defaultAuthOrgSlug: string | null;
defaultAuthOrgId: string | null;
defaultAuthOrgAuthMethod?: string | null;
defaultAuthOrgAuthEnforced?: boolean | null;
enabledLoginMethods: LoginMethod[];
};
+2 -1
View File
@@ -11,7 +11,8 @@ export enum AuthMethod {
JUMPCLOUD_SAML = "jumpcloud-saml",
KEYCLOAK_SAML = "keycloak-saml",
LDAP = "ldap",
OIDC = "oidc"
OIDC = "oidc",
SAML = "saml"
}
export type User = {