nbb_token not set after Google SSO login (but works for normal login)
-
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!
-
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!
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?
-
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?
Adam-C no you've probably set it up correctly, those sound like bugs. I'll take a look.