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 24
  • 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
Post suggeriti
  • 0 Votes
    1 Posts
    1 Views
    Writing an Optimizing Tensor Compiler from ScratchNot everyone will write their own optimizing compiler from scratch, but those who do sometimes roll into it during the course of ever-growing project scope creep. People like [Michael Moroz], who wrote up a long and detailed article on the why and how. Specifically, a ‘small library’ involving a few matrix operations for a Unity-based project turned into a static optimizing tensor compiler, called TensorFrost, with a Python front-end and a shader-like syntax, all of which is available on GitHub.The Python-based front-end implements low-level NumPy-like operations, with development still ongoing. As for why Yet Another Tensor Library had be developed, the reasons were that most of existing libraries are heavily focused on machine learning tasks and scale poorly otherwise, dynamic flow control is hard to implement, and the requirement of writing custom kernels in e.g. CUDA.Above all [Michael] wanted to use a high-level language instead of pure shader code, and have something that can output graphical data in real-time. Taking the gamble, and leaning on LLVM for some parts, there is now a functional implementation, albeit with still a lot of work ahead.hackaday.com/2026/01/30/writin…
  • 0 Votes
    1 Posts
    0 Views
    In ByteBlaster there are all sorts of strange and unexplained sights and locales to explore. It’s not just random stuff around though. We believe in the power of environmental storytelling.Follow for more on ByteBlaster!#gamedev #indiegame #devlog #godot #screenshotsaturday
  • I cast fist!

    Uncategorized
    2
    1
    0 Votes
    2 Posts
    1 Views
    @catsalad
  • I have no idea why my #software works!

    Uncategorized meme software
    1
    0 Votes
    1 Posts
    2 Views
    I have no idea why my #software works! #meme