Programatically create users
-
Hello.
I have a web application with a local login and registration system using email and password.
I want to programatically create a forum account upon registering for the web application, using the same email and password.
Is there a way to do this yet or no? I don't mind writing a plugin, but I want to make sure there is no existing way to do this.
-
There are multiple ways depending on your needs. You probably want nodebb-plugin-session-sharing. This plugin reads a cookie from your app, and when a user logged into your app visits the forum, will create their account and log them in. It can also redirect guests to your apps page, and sign users out when they log out of your app.
-
-
Copyright © 2024 NodeBB | Contributors