using nodebb to login to another site

General Discussion
  • hey there!

    i'm making a chat app for my users, and i was wondering if i could make it so people login to my chat app using their nodebb usernames and passwords.

    i've done some googling and i can find how to make it so people can login to nodebb from another site (like facebook), but i want to make it so people login to my site using their nodebb accounts.

    is this possible? my chat app is being written in nodejs and it will be hosted at the same place as the nodebb blog and the database.


  • HI @jeffalo -- not easily...

    The long and the short of it is that NodeBB can easily act as an OAuth client, that's what it's doing when you let users log in via Facebook/Google/etc.

    To act as an OAuth server requires quite a bit of extra work and isn't exactly something we support at the moment.

    We did have a plugin for it years ago, but it did not work properly and so for the time being we do not have anything like this.

  • @julian aw that's unfortunate but thanks for the response though!

    what about if my chat app made a direct connection to the database would that be possible?

    the only issue i think then would be hashing the passwords the same way when checking if it's correct, but i dont know much about how databases work yet.

  • @jeffalo yes you can connect to NodeBB more directly and use session-sharing instead.

Suggested Topics

  • 0 Votes
    2 Posts

    We currently don't have an NSFW filter plugin, but I don't see why one cannot be made 😄

  • 0 Votes
    1 Posts

    Anyone had experience using Opbeat ( with nodebb?
    Opbeat is a good logging and debugging tool. They have plugin for nodejs. I'm wondering do we have to modify nodebb code(app.js?) or we can do it through a nodebb plugin?


    Here is their instructions for nodejs app:

  • -1 Votes
    1 Posts

    Hey there,

    I recently announced a URL shortener focused on shortening Minecraft: PE server voting pages. Our aim is to offer you a simple, modern and fast service to shorten voting links.

    Although we put a small "About Us" section on the right side of any shortened URL, you have to understand that we have just started and want to earn few sales with our premium subscription. This includes advertising services on the site, however we never put other servers in a shortened URL, we just do it on the home page.

    Check out our homepage, know more about us, and if you want, check out the premium section. For a subscription of $5 per month you get a lot of features and a dedicated control panel to be an expert handling your URLs. More active subscriptions: we can cover the cost of the service and offer you new features.

    Visit right now and help grow this project. The domain was very difficult to find and the few who are active with such number of characters!

    / Kevin Andrews

  • 0 Votes
    2 Posts

    ./nodebb start is a replacement for forever - if one node goes down it will attempt to restart, and of course, clustering would work

  • Mybb to Nodebb migration

    General Discussion
    0 Votes
    14 Posts

    @Areks, open up a ticket here

    please share all the info you have, meaning
    Node version,
    Nodebb version
    redis version, although i recommend mongodb

    also, if you want, send me a copy of the dump, and I give it a shot.