If you are on nodebb 1.12.2 you should use the version of db search in your package.json. 4.0.6 is for nodebb 1.13.0 which isn't released yet.
Use nodebb's user list for external auth?
The title might not be very explanatory, so here goes. The idea is, I'd like my nodebb community's users to sign into another platform(like a separate Rails or Flask app), using their existing nodebb credentials. This would have been a cakewalk if I had social auth on my nodebb community - then, say if they used Twitter to sign into nodebb, they could use the same to sign into my other site. But that's not possible, unfortunately.
So, is there any way to export nodebb's auth, like an OAuth provider, which can then be consumed by another app?