WaspW
Wasp10mo ago
Xenos

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?
Was this page helpful?