LDAP Login Failed: invalid URL escape "%E$"'
I am trying to login through the LDAP, but when password contains special character like %$ I am getting error like below
invalid StartIdentityProviderIntentRequest.Ldap: embedded message failed validation | caused by: invalid LDAPCredentials.Password: value must be a valid URI | caused by: parse "Password@%E$": invalid URL escape "%E$"'
So, here the password of the user is Password@%E$, This error happened when tried in custom login,
Zitadel login UI able to login successfully.
Here the code snippet for LdapFlowIndent
const ldapIntentResponse = await startIdpFlowIntent({ idpId: selectedDomain, content: { case: "ldap", value: { password, username: adIdValue, } as LDAPCredentials, }, });
https://github.com/zitadel/zitadel/blob/bb9e55776031232e25fb3e227c97e38a69e49aab/proto/zitadel/user/v2/idp.proto#L22
password, Is there any way to encode and send the password, tried encodeURIComponent, but failed miserably.
version: v2.65.0
invalid StartIdentityProviderIntentRequest.Ldap: embedded message failed validation | caused by: invalid LDAPCredentials.Password: value must be a valid URI | caused by: parse "Password@%E$": invalid URL escape "%E$"'
So, here the password of the user is Password@%E$, This error happened when tried in custom login,
Zitadel login UI able to login successfully.
Here the code snippet for LdapFlowIndent
const ldapIntentResponse = await startIdpFlowIntent({ idpId: selectedDomain, content: { case: "ldap", value: { password, username: adIdValue, } as LDAPCredentials, }, });
https://github.com/zitadel/zitadel/blob/bb9e55776031232e25fb3e227c97e38a69e49aab/proto/zitadel/user/v2/idp.proto#L22
password, Is there any way to encode and send the password, tried encodeURIComponent, but failed miserably.
version: v2.65.0
GitHub
ZITADEL - Identity infrastructure, simplified forΒ you. - zitadel/zitadel
