nodebb instaqllation error

General Discussion

Suggested Topics


  • 0 Votes
    1 Posts
    205 Views

    Hi

    Thanks for the amazing forum platform.

    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?

  • 0 Votes
    3 Posts
    3k Views

    It is now working with 5.0.3
    Thanks a lot.

  • 1 Votes
    12 Posts
    4k Views

    That is an acceptable solution 👍

  • 0 Votes
    4 Posts
    4k Views

    @pitaj said:

    @Master-Antonio add your domain in the config.json file which sits in the NodeBB main directory.

    Did, but don't work.

  • 0 Votes
    1 Posts
    842 Views

    According to the docs,
    https://docs.nodebb.org/en/latest/upgrading/index.html

    On typical installs of Redis, the main database is found at
    /var/lib/redis/dump.rdb.

    and the file actually is there.

    So, what is the dump.rdb in the nodebb root dir?

    Thanks.