Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • 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

Darkscribes Community

  1. Home
  2. Uncategorized
  3. nbb_token not set after Google SSO login (but works for normal login)

nbb_token not set after Google SSO login (but works for normal login)

Scheduled Pinned Locked Moved Uncategorized
3 Posts 2 Posters 0 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.
  • adam-c@community.nodebb.orgA This user is from outside of this forum
    adam-c@community.nodebb.orgA This user is from outside of this forum
    [email protected]
    wrote last edited by
    #1

    I’m using nodebb-plugin-session-sharing (reverse token mode), and NodeBB sets a cookie called nbb_token that my main site (on the same domain) can read. It works fine when I log in with a regular NodeBB account.

    However, when logging in with Google SSO using nodebb-plugin-sso-google, the nbb_token cookie is not set.

    Is there something I need to change in the plugin or configuration to make sure the session (nbb_token) is set after Google login?

    Thanks!

    adam-c@community.nodebb.orgA 1 Reply Last reply
    0
    • adam-c@community.nodebb.orgA [email protected]

      I’m using nodebb-plugin-session-sharing (reverse token mode), and NodeBB sets a cookie called nbb_token that my main site (on the same domain) can read. It works fine when I log in with a regular NodeBB account.

      However, when logging in with Google SSO using nodebb-plugin-sso-google, the nbb_token cookie is not set.

      Is there something I need to change in the plugin or configuration to make sure the session (nbb_token) is set after Google login?

      Thanks!

      adam-c@community.nodebb.orgA This user is from outside of this forum
      adam-c@community.nodebb.orgA This user is from outside of this forum
      [email protected]
      wrote last edited by
      #2

      Also, after user registering a new account, there is no nbb_token created until they re-login. Is it something I have not set up correctly?

      julian@community.nodebb.orgJ 1 Reply Last reply
      0
      • adam-c@community.nodebb.orgA [email protected]

        Also, after user registering a new account, there is no nbb_token created until they re-login. Is it something I have not set up correctly?

        julian@community.nodebb.orgJ This user is from outside of this forum
        julian@community.nodebb.orgJ This user is from outside of this forum
        [email protected]
        wrote last edited by
        #3

        Adam-C no you've probably set it up correctly, those sound like bugs. I'll take a look.

        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
        • Users
        • Groups