You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm setting up a new Backstage server and I would really like to use the ldap-authentication plugin. But I'm getting an error when I try to login. This is the body I get
"error": {
"name": "LdapAuthenticationError",
"message": "TypeError: string.charCodeAt is not a function",
"stack": "LdapAuthenticationError: TypeError: string.charCodeAt is not a function\n at authenticateWithAdmin (/home/xxx/mdlh/node_modules/ldap-authentication/index.js:179:11)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async authenticate (/home/xxx/mdlh/node_modules/ldap-authentication/index.js:388:12)\n at async ProviderLdapAuthProvider.defaultLDAPAuthentication (/home/xxx/mdlh/node_modules/@immobiliarelabs/backstage-plugin-ldap-auth-backend/src/ldap.ts:91:22)\n at async ProviderLdapAuthProvider.refresh (/home/xxx/mdlh/node_modules/@immobiliarelabs/backstage-plugin-ldap-auth-backend/src/provider.ts:89:33)"
},
"request": {
"method": "POST",
"url": "/ldap/refresh"
},
Any idea about what could be wrong here?
The text was updated successfully, but these errors were encountered:
Hi,
I'm setting up a new Backstage server and I would really like to use the ldap-authentication plugin. But I'm getting an error when I try to login. This is the body I get
"error": {
"name": "LdapAuthenticationError",
"message": "TypeError: string.charCodeAt is not a function",
"stack": "LdapAuthenticationError: TypeError: string.charCodeAt is not a function\n at authenticateWithAdmin (/home/xxx/mdlh/node_modules/ldap-authentication/index.js:179:11)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async authenticate (/home/xxx/mdlh/node_modules/ldap-authentication/index.js:388:12)\n at async ProviderLdapAuthProvider.defaultLDAPAuthentication (/home/xxx/mdlh/node_modules/@immobiliarelabs/backstage-plugin-ldap-auth-backend/src/ldap.ts:91:22)\n at async ProviderLdapAuthProvider.refresh (/home/xxx/mdlh/node_modules/@immobiliarelabs/backstage-plugin-ldap-auth-backend/src/provider.ts:89:33)"
},
"request": {
"method": "POST",
"url": "/ldap/refresh"
},
Any idea about what could be wrong here?
The text was updated successfully, but these errors were encountered: