Skip to content

Piero Bosio Social Web Site Personale Logo Fediverso

Social Forum federato con il resto del mondo. Non contano le istanze, contano le persone

Run NodeBB along with my website using my website's auth system.

Uncategorized
5 4 11
  • Hi,

    I am creating a website for e-learning purposes on the MEAN.JS stack and want to add NodeBB as the community part.

    But as NodeBB has its own authentication system and so does my website, is there a way to sync the two. I don't want to keep the NodeBB login/register system but only of my website and users logged into my website should be loggedin to NodeBB as well.

    I have been going through the NodeBB code and haven't been able to figure it out. Can anyone help me with this please.
    My questions are

    • Is it possible to make NodeBB sync with my auth system?
    • if so, then how can I go about with it, without modifying much of NodeBB?

    Thank you

  • Hi,

    I am creating a website for e-learning purposes on the MEAN.JS stack and want to add NodeBB as the community part.

    But as NodeBB has its own authentication system and so does my website, is there a way to sync the two. I don't want to keep the NodeBB login/register system but only of my website and users logged into my website should be loggedin to NodeBB as well.

    I have been going through the NodeBB code and haven't been able to figure it out. Can anyone help me with this please.
    My questions are

    • Is it possible to make NodeBB sync with my auth system?
    • if so, then how can I go about with it, without modifying much of NodeBB?

    Thank you

    If you configured OAuth for your authentication system then you could use this plugin by julian

    https://github.com/julianlam/nodebb-plugin-sso-oauth

    Well to my knowledge that is :D

  • If you configured OAuth for your authentication system then you could use this plugin by julian

    https://github.com/julianlam/nodebb-plugin-sso-oauth

    Well to my knowledge that is :D

    xCausxn I am going to try out what you have said. But, I also wanted to know if this will work for Social logins on my website?

    The users on my website can use Facebook, Google+ or local login to register to the website and use it. Now if I create the oauth system on my server, will it also be able to handle FB logins?

    Sorry, I am pretty new to all this and still am figuring things out. Even if you can point me to the right direction, I'd be grateful.

  • Hi,

    I am creating a website for e-learning purposes on the MEAN.JS stack and want to add NodeBB as the community part.

    But as NodeBB has its own authentication system and so does my website, is there a way to sync the two. I don't want to keep the NodeBB login/register system but only of my website and users logged into my website should be loggedin to NodeBB as well.

    I have been going through the NodeBB code and haven't been able to figure it out. Can anyone help me with this please.
    My questions are

    • Is it possible to make NodeBB sync with my auth system?
    • if so, then how can I go about with it, without modifying much of NodeBB?

    Thank you

    kblade said in Run NodeBB along with my website using my website's auth system.:
    > Hi,
    >
    > I am creating a website for e-learning purposes on the MEAN.JS stack and want to add NodeBB as the community part.
    >
    > But as NodeBB has its own authentication system and so does my website, is there a way to sync the two. I don't want to keep the NodeBB login/register system but only of my website and users logged into my website should be loggedin to NodeBB as well.
    >
    > I have been going through the NodeBB code and haven't been able to figure it out. Can anyone help me with this please.
    > My questions are
    >
    > Is it possible to make NodeBB sync with my auth system?
    > if so, then how can I go about with it, without modifying much of NodeBB?
    > Thank you

    I had the same question when I was looking into integrating NodeBB with my own web app. I also wanted to avoid having two separate login/register systems and instead rely on my site’s existing authentication so that users could seamlessly log in to both. The default NodeBB setup doesn’t make this obvious, and I wasn’t sure if it could sync without a lot of custom code. From what I’ve read, people usually suggest looking into SSO plugins or writing a custom authentication strategy so that NodeBB accepts your existing session or token. But like you, I was hoping to do this with minimal modification to NodeBB itself. I’d really appreciate it if anyone who has implemented this could share the best approach, whether it’s using passport, JWT, or something else that plays nicely with NodeBB. I know I am reviving a very old thread because somebody has already asked that question please help

  • kblade said in Run NodeBB along with my website using my website's auth system.:
    > Hi,
    >
    > I am creating a website for e-learning purposes on the MEAN.JS stack and want to add NodeBB as the community part.
    >
    > But as NodeBB has its own authentication system and so does my website, is there a way to sync the two. I don't want to keep the NodeBB login/register system but only of my website and users logged into my website should be loggedin to NodeBB as well.
    >
    > I have been going through the NodeBB code and haven't been able to figure it out. Can anyone help me with this please.
    > My questions are
    >
    > Is it possible to make NodeBB sync with my auth system?
    > if so, then how can I go about with it, without modifying much of NodeBB?
    > Thank you

    I had the same question when I was looking into integrating NodeBB with my own web app. I also wanted to avoid having two separate login/register systems and instead rely on my site’s existing authentication so that users could seamlessly log in to both. The default NodeBB setup doesn’t make this obvious, and I wasn’t sure if it could sync without a lot of custom code. From what I’ve read, people usually suggest looking into SSO plugins or writing a custom authentication strategy so that NodeBB accepts your existing session or token. But like you, I was hoping to do this with minimal modification to NodeBB itself. I’d really appreciate it if anyone who has implemented this could share the best approach, whether it’s using passport, JWT, or something else that plays nicely with NodeBB. I know I am reviving a very old thread because somebody has already asked that question please help

    Ben-Stokes you'll want to use NodeBB-plugin-sso-oauth2-multiple or nodebb-plugin-session-sharing 🙂


Gli ultimi otto messaggi ricevuti dalla Federazione
  • @evan Oooh, you caught a new Teeny Void Demon in the cat trap! What a perfectly seasonal addition to the family, congrats.

    And welcome, Corvus! My black-but-for-that-silly-pointing-mutation Sudo sez "YOOOOWWWWWLLLOOOOooooo".

    read more

  • Making a Virtual Machine Look like Real Hardware to Malware

    Running suspicious software in a virtual machine seems like a basic precaution to figure out whether said software contains naughty code. Unfortunately it’s generally rather easy to detect whether or not one’s software runs inside a VM, with [bRootForce] going through a list of ways that a VirtualBox VM can be detected from inside the guest OS. While there are a range of obvious naming issues, such as the occurrence of the word ‘VirtualBox’ everywhere, there many more subtle ways too.

    Demonstrated is the PoC ‘malware’ application called Al-Khaser, which can be used to verify one’s anti-malware systems, such as when trying to unleash a debugger on a piece of malware, run it inside a VM, along with many more uses. Among its anti-virtualization features are specific registry key names and values, file system artefacts, directory names, MAC addresses, virtual devices, etc.

    In order to squeeze by those checks, [bRootForce] created the vbox_stealth shell script for Bash-blessed systems in order to use the VirtualBox Manager for the renaming of hardware identifier, along with the VBoxCloak project’s PowerShell script that’s used inside a Windows VirtualBox guest instance to rename registry keys, kill VirtualBox-specific processes, and delete VirtualBox-specific files.

    Theoretically this should make it much harder for any malware to detect that it’s not running inside Windows on real hardware, but as always there are more subtle ways that are even harder to disguise.

    youtube.com/embed/-On6bWFXuM8?…

    hackaday.com/2025/10/27/making…

    read more

  • On that note, we have a new member of our family. His name is Corvus. He is smol but mighty. We like him alot. /cc @maj @amita @Stavro

    read more

  • read more

  • @evan Can I write it in PHP as long as I call the python library somehow?

    read more

  • Tutti gli psicodrammi in Apple sull’Ai

    L'articolo proviene da e viene ricondiviso sulla comunità Lemmy @informatica
    Presa in contropiede da Trump, che l'ha costretta a indirizzare 500 miliardi in piani di sviluppo negli Usa, Apple continua a essere in difficoltà sul fronte Ai. Siri, dopo tanti rinvii, non può certo più mancare il debutto del prossimo

    read more

  • Are you on the Fediverse because you love social networking, or because you hate social networking?

    read more

  • It's for Computer Networking. I have to write a processor that takes a bespoke CSV format for firewall rules and turns them into calls to OpenFlow using a Python library called pox.

    read more
Post suggeriti