Here are the steps I have done.
On my site:
Using passport Js to have the user log in with google or github when they click the login on my site.
In NodeBB:
I have enabled the google-sso plugin and github plugin in the admin portal.
Then I set the client secret and client ID to the same one as my site. (Could not change the github callback url as the field is disabled)
Is this supposed to work automagically or am I missing some crucial step.
I log into google and github successfully and get the accessToken and refresh token (which I store in cookies) But when I go to the node bb categories pages and try to post, I see the "Login to post" button.
Thank you Julian for the help so far. You are a hero of the open source community. 