Xenos
WWasp
•Created by Xenos on 3/16/2025 in #🙋questions
Best way to implement custom LDAP authentication in Wasp
Hi everyone,
I’m considering implementing a custom authentication method in Wasp using LDAP, but I’m not sure if it’s the right approach. I know that Wasp provides built-in authentication, and I’ve seen that there’s an
onBeforeLogin
hook that I could potentially use for this with the usernameAndPassword
-method. However, that feels like a bit of a hack, and I’d rather follow a proper approach if one exists. Can someone guide me in the right direction?11 replies