fix: addressed requested changes

This commit is contained in:
Daniel Hougaard
2025-05-08 23:13:46 +04:00
parent a4b648ad95
commit a3b7df4e6b
12 changed files with 166 additions and 146 deletions
@@ -88,7 +88,6 @@ export const identityLdapAuthServiceFactory = ({
url: ldapAuth.url,
bindDN,
bindPass,
uniqueUserAttribute: ldapAuth.uniqueAttribute,
searchBase: ldapAuth.searchBase,
searchFilter: ldapAuth.searchFilter,
caCert: ldapCaCertificate || "",
@@ -100,9 +99,8 @@ export const identityLdapAuthServiceFactory = ({
url: ldapAuth.url,
bindDN,
bindCredentials: bindPass,
uniqueUserAttribute: ldapAuth.uniqueAttribute,
searchBase: ldapAuth.searchBase,
searchFilter: ldapAuth.searchFilter || "(uid={{username}})",
searchFilter: ldapAuth.searchFilter,
...(ldapCaCertificate
? {
tlsOptions: {
@@ -178,7 +176,6 @@ export const identityLdapAuthServiceFactory = ({
url,
searchBase,
searchFilter,
uniqueAttribute,
bindDN,
bindPass,
ldapCaCertificate,
@@ -287,7 +284,6 @@ export const identityLdapAuthServiceFactory = ({
encryptedBindPass,
searchBase,
searchFilter,
uniqueAttribute,
url,
encryptedLdapCaCertificate,
accessTokenMaxTTL,
@@ -308,7 +304,6 @@ export const identityLdapAuthServiceFactory = ({
url,
searchBase,
searchFilter,
uniqueAttribute,
bindDN,
bindPass,
ldapCaCertificate,
@@ -428,7 +423,6 @@ export const identityLdapAuthServiceFactory = ({
url,
searchBase,
searchFilter,
uniqueAttribute,
encryptedBindDN,
encryptedBindPass,
encryptedLdapCaCertificate,
@@ -17,7 +17,6 @@ export type TAttachLdapAuthDTO = {
url: string;
searchBase: string;
searchFilter: string;
uniqueAttribute: string;
bindDN: string;
bindPass: string;
ldapCaCertificate?: string;
@@ -34,7 +33,6 @@ export type TUpdateLdapAuthDTO = {
url?: string;
searchBase?: string;
searchFilter?: string;
uniqueAttribute?: string;
bindDN?: string;
bindPass?: string;
allowedFields?: TAllowedFields[];