Salta al contenuto
0
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
  • Home
  • Piero Bosio
  • Blog
  • Mondo
  • Fediverso
  • News
  • Categorie
  • Recenti
  • Popolare
  • Tag
  • Utenti
  • Gruppi
Skin
  • Light
  • Brite
  • 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

  • Predefinito (Nessuna skin)
  • Nessuna skin
Collassa

Piero Bosio Web Site

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

  1. Home
  2. Categorie
  3. Senza categoria
  4. Run NodeBB along with my website using my website's auth system.

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

Pianificato Fissato Bloccato Spostato Senza categoria
authenticationcustomization
5 Post 4 Autori 0 Visualizzazioni
  • Da Vecchi a Nuovi
  • Da Nuovi a Vecchi
  • Più Voti
Rispondi
  • Topic risposta
Effettua l'accesso per rispondere
Questa discussione è stata eliminata. Solo gli utenti con diritti di gestione possono vederla.
  • kbladeundefined Questo utente è esterno a questo forum
    kbladeundefined Questo utente è esterno a questo forum
    kblade
    scritto su ultima modifica di
    #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

    xCausxnundefined Ben Stokesundefined 2 Risposte Ultima Risposta
    • kbladeundefined kblade

      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

      xCausxnundefined Questo utente è esterno a questo forum
      xCausxnundefined Questo utente è esterno a questo forum
      xCausxn
      scritto su ultima modifica di
      #2

      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 😄

      kbladeundefined 1 Risposta Ultima Risposta
      • xCausxnundefined xCausxn

        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 😄

        kbladeundefined Questo utente è esterno a questo forum
        kbladeundefined Questo utente è esterno a questo forum
        kblade
        scritto su ultima modifica di
        #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 Risposta Ultima Risposta
        • kbladeundefined kblade

          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 Stokesundefined Questo utente è esterno a questo forum
          Ben Stokesundefined Questo utente è esterno a questo forum
          Ben Stokes
          scritto su ultima modifica di
          #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

          julianundefined 1 Risposta Ultima Risposta
          • Ben Stokesundefined Ben Stokes

            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

            julianundefined Questo utente è esterno a questo forum
            julianundefined Questo utente è esterno a questo forum
            julian
            scritto su ultima modifica di
            #5

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

            1 Risposta Ultima Risposta
            Rispondi
            • Topic risposta
            Effettua l'accesso per rispondere
            • Da Vecchi a Nuovi
            • Da Nuovi a Vecchi
            • Più Voti


            Gli ultimi otto messaggi ricevuti dalla Federazione
            • L'Anarchiversitarioundefined
              L'Anarchiversitario

              Blocchiamo tutto: le proteste del 10 settembre in Francia
              @anarchia
              In Francia, durante la giornata del 10 settembre, i blocchi sono stati numerosi e partecipati da molti giovani. Al contempo, almeno per il momento, non si tratta di un movimento equiparabile a quello dei gilets jaunes. Vedremo l’evoluzione di “bloquons...

              Vedi l'articolo

              https://www.rivoluzioneanarchica.it/blocchiamo-tutto-le-proteste-del-10-settembre-in-francia/

              per saperne di più

            • Elena ``of Valhalla''undefined
              Elena ``of Valhalla''

              @silhelm @UnCoveredMyths on one hand, fair enough

              on the other hand, now my mind is picturing some kind of industrial grade magnet holding a decently sized bag of stamps on the fridge

              What Could Possibly Go Wrong?

              per saperne di più

            • Globalist.itundefined
              Globalist.it

              https://www.globalist.it/politics/2025/09/12/il-doppiopesismo-delloccidente/

              Un commento di Giovanna Musilli

              per saperne di più

            • Elena ``of Valhalla''undefined
              Elena ``of Valhalla''
              @las_lallero quelle situazioni in cui speri profondamente che si tratti di un caso di pubblicità ingannevole
              per saperne di più

            • Elena Brescacinundefined
              Elena Brescacin

              Cosa odio di YouTube: l'offuscamento di alcune parole, per monetizzare.
              Se racconti un fatto di cronaca alcuni scrivono "m0rt0" invece di "morto". Gli zeri al posto delle o. Idem l'oscuramento delle parole, ottenibile con tagli o eufemismi. Poi però disinformazione e odio girano liberi.

              per saperne di più

            • StarSlothundefined
              StarSloth

              @UnCoveredMyths I have way too many for that - I buy like a hundred at a time, lol.

              per saperne di più

            • Francy 🌻undefined
              Francy 🌻

              @Otttoz dove si può seguire la diretta?

              per saperne di più

            • Antilope Fusa 🏀:startrek:🖖undefined
              Antilope Fusa 🏀:startrek:🖖

              @extratrek si sicuramente, trovo solo che questa stagione sia un po' più debole ma insomma, bel lavoro. @thegib @Godai71

              per saperne di più
            • Accedi

            • Accedi o registrati per effettuare la ricerca.
            Powered by NodeBB Contributors
            • Primo post
              Ultimo post