I went ahead and read all about Nodebb authorization.
I believe the api registration of new user is /api/v3/users/. This requires master token but if we are using a master token for registration purposes on frontend, this can be easily abused right. I checked via Postman, and it keeps on creating users everytime the request is sent, appending some values at the end if the username already exists.
So my question is what might be a better way for users to register from the custom frontend using bb for backend? Is this even possible? I can only think about iframing the registration page from nodebb beside this.
Any ideas? Maybe there is another api or some methods I'm not aware of?
Thanks.