I am currently working on the Laravel website with forum as a part of the website, and I have chosen nodebb as forum platform. I am really new to SSO, and I don’t have much knowledge about node.js, and even mongo database. And I am not English, so if there is anything I am not really explaining well, please let me know.
Firstly, I am not sure what I want to achieve is possible. Ideally, after Laravel website (localhost:8000) user login, then clicked the forum link (nodebb – localhost:4567), then nodebb could login the Laravel user without login confirmation. The situation sounds like, I have already login with google account, when I try to login community.nodebb.org, nodebb community won’t ask me the login confirmation to login. I am not sure whether it is able to achieve, because it means a website user try to login another website without providing any information, even a token.
Secondly, in another case, it could be that a Laravel user login nodebb forum, and give auth to nodebb forum, then the user can login nodebb forum with Laravel user details. I have done a bit of research online, I think that I should expose my nodebb application to OAuth2orize (https://github.com/jaredhanson/oauth2orize). I have installed the OAuth2orize by running npm install oauth2orize, but after that I don’t know what else I should do, it said to create a OAuth server, but I have no idea where I should create this server, or where I could register grants, and do I need to do anything with Laravel site?
@AOKP Because i dont (yet) have money to afford a big vps
So.... what does that mean for your customers? It only takes a $5 VPS to have many NodeBB instances. Is it that your customers total revenue is under $5? I'm confused. You would have to be spending way too much money to have one VPS per instance, yet you say your are too poor. Those two things don't go together.
I ont host more than one noddbb in 2gb ram, 2,4ghz and 1 core that costs me $5
In NodeBB, subcategories are referred to as child categories. In order to set up your subforum, you would create your necessary categories (one for mobile phones, and then others for android, ios, etc) and then set the parent category of your intended subforums to be your mobile phones category.