https://supertokens.com/ logo
Title
h

heatbr

11/07/2022, 12:03 PM
Hello, is there a way to change core to override the data source provider for email pwd ? I want to integrate supertoken with ldap. It's okay if we lost fuctionallity like reset pwd, change user data etc. Our use case is use supertoken as auth session management, no signup flow, reset password, etc.
r

rp

11/07/2022, 1:32 PM
hey @heatbr
you can use supertokens for session management only as well.
Essentially, post login (however you login), you call the
Session.createNewSession
function with the user ID of the user. This will work even if supertokens doesn't already know about that user ID from before
h

heatbr

11/07/2022, 4:17 PM
Great, this was my first thoughts. thank you