Headless Integration with Nodebb

Unsolved Technical Support
  • How would you make it so your user registration form on your frontend connects to nodebb? This is where you make your account on the front end and can login to it either from there or with the forum login. Logging in from one also logs you into the other. Is there an easy way to achieve this? I tried using Auth0, but that's not really the kinda thing I want. I suppose in this case, I'd want to connect the nodebb login system itself with my front end so I can register for accounts from there?

  • @Eminent said in Headless Integration with Nodebb:

    How would you make it so your user registration form on your frontend connects to nodebb? This is where you make your account on the front end and can login to it either from there or with the forum login. Logging in from one also logs you into the other. Is there an easy way to achieve this? I tried using Auth0, but that's not really the kinda thing I want. I suppose in this case, I'd want to connect the nodebb login system itself with my front end so I can register for accounts from there?

    Do you want to have a single sign-on for multiple platforms?

  • @volanar Well, there's just the front-end app, WP backend, and then the forums. Just a website.

  • I might be overthinking this and Auth0 is perfectly usable if I create that in React, and use the bearer token or whatever from Nodebb. The issue still remains though that I want that to be the only way to register for an account (in the custom registration page on the front-end.) I'll have to disable user registration with SSO I guess or hide that alternative login option... What's odd though is that only the alternative login works when an account is created that way. It looks like when the account is made, it gets added to the users list in nodebb, so you should be able to login with the email and password you registered with on Auth0, right?


Suggested Topics


  • 0 Votes
    15 Posts
    199 Views

    @tankerkiller125 Very strange. I'm using the latest version of highlight.js with my own functions I provided, and everything works as intended. I had an issue before where basic text was being detected as bash for example, meaning every word almost was a different colour!

    Now I've disabled the Markdown version and implemented my own, it looks so much better. I'm using a theme switcher I wrote so that when themes change, it also pulls the highlight.js theme css file.

  • How to stop Welcome email in nodebb?

    Unsolved Technical Support
    0 Votes
    4 Posts
    292 Views

    As @baris has replied in that issue, this is already a feature in the ACP. 👍

    It sounds like you are looking to disable the "welcome" email, but preserve the existing email confirmation emails, yes?

    In that case, you'll have to wait until v2.2.0, at which point you can use a plugin to change the template for the welcome email back to verify-email.

  • 0 Votes
    3 Posts
    352 Views

    I have enabled the plugin. Is there any issues related to plugin version or the search is database(mongo/redis) dependent? Need help.

  • 0 Votes
    3 Posts
    492 Views

    @PitaJ thanks. I need to install it on Heroku and it doesn't have nginx now. I know I have a long road ahead, but I think I found the direction.

  • 0 Votes
    6 Posts
    718 Views

    I don't know if you need to get rid of the domain folder, but you do need to set up the reverse proxy.