Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
We Distribute
  1. Home
  2. Uncategorized
  3. Run NodeBB along with my website using my website's auth system.

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

Scheduled Pinned Locked Moved Uncategorized
authenticationcustomization
5 Posts 4 Posters 1 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • kblade@community.nodebb.orgK This user is from outside of this forum
    kblade@community.nodebb.orgK This user is from outside of this forum
    kblade@community.nodebb.org
    wrote on last edited by
    #1

    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

    X ben-stokes@community.nodebb.orgB 2 Replies Last reply
    0
    • kblade@community.nodebb.orgK kblade@community.nodebb.org

      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

      X This user is from outside of this forum
      X This user is from outside of this forum
      xcausxn@community.nodebb.org
      wrote on last edited by
      #2

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

      Link Preview Image
      GitHub - julianlam/nodebb-plugin-sso-oauth: NodeBB Plugin that allows users to login/register via any configured OAuth provider.

      NodeBB Plugin that allows users to login/register via any configured OAuth provider. - julianlam/nodebb-plugin-sso-oauth

      favicon

      GitHub (github.com)

      Well to my knowledge that is 😄

      kblade@community.nodebb.orgK 1 Reply Last reply
      0
      • X xcausxn@community.nodebb.org

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

        Link Preview Image
        GitHub - julianlam/nodebb-plugin-sso-oauth: NodeBB Plugin that allows users to login/register via any configured OAuth provider.

        NodeBB Plugin that allows users to login/register via any configured OAuth provider. - julianlam/nodebb-plugin-sso-oauth

        favicon

        GitHub (github.com)

        Well to my knowledge that is 😄

        kblade@community.nodebb.orgK This user is from outside of this forum
        kblade@community.nodebb.orgK This user is from outside of this forum
        kblade@community.nodebb.org
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • kblade@community.nodebb.orgK kblade@community.nodebb.org

          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

          ben-stokes@community.nodebb.orgB This user is from outside of this forum
          ben-stokes@community.nodebb.orgB This user is from outside of this forum
          ben-stokes@community.nodebb.org
          wrote last edited by
          #4

          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

          julian@community.nodebb.orgJ 1 Reply Last reply
          0
          • ben-stokes@community.nodebb.orgB ben-stokes@community.nodebb.org

            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

            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.orgJ This user is from outside of this forum
            julian@community.nodebb.org
            wrote last edited by
            #5

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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            Powered by NodeBB Contributors
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups