wekan / ldap

LDAP support for Wekan code has been moved to https://github.com/wekan/wekan/tree/master/packages/wekan-ldap , issues to https://github.com/wekan/wekan/issues , and if PRs are needed please add them instead to https://github.com/wekan/wekan/pulls
https://github.com/wekan/wekan/tree/master/packages/wekan-ldap
MIT License
12 stars 10 forks source link

LDAP Login: "Login forbidden", ReferenceError: req is not defined #44

Closed tanuva closed 5 years ago

tanuva commented 5 years ago

Hello,

when I try to log in to Wekan (2.45, from snap) via LDAP, I'm lately getting the message "Login forbidden". Unfortunately I cannot tell when this started, login sessions stay valid for so long... ;)

What I observed though is an error that shows up in the JS console every time I press the login button:

4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:323 Uncaught (in promise) ReferenceError: req is not defined
    at s (4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:323)
    at n (4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17)
    at Generator.i [as _invoke] (4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17)
    at Generator.t.(anonymous function) [as next] (https://wekan.mydomain.com/4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17:15822)
    at n (4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17)
    at e (4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17)
    at 4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17
    at new Promise (<anonymous>)
    at n (4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17)
    at c.r [as _invoke] (4b59dd7535c2383ae1496360b6ff19fbcb0191cd.js?meteor_js_resource=true:17)

I don't see any HTTP requests going out, but that is probably because it communicates via websockets, right?

LDAP logging config:

ldap-internal-log-level       debug
ldap-log-enabled              true

But nothing is showing up in the logs when trying to log in. The latest message is Kadira: completed instrumenting the app from startup.

Do you have any idea what could be wrong?

tanuva commented 5 years ago

Thanks for the quick fix, now it works again! 👍