There is a helpful video: Enabling Google SSO for your NodeBB forum - YouTube, which is good, although I needed additional steps, basically Google Admin.
Just in case it's useful for some people, using Google Apps accounts, after installing nodebb-plugin-sso-google
, activating it, and reloading, I needed to go -with the admin account- to Google Admin:
https://admin.google.com > More controls > Apps > Additional Google services > Settings for specific organizational units > example.com > Page 2 > Google Developers Console > On
Then to Google APIs:
https://console.developers.google.com/cloud-resource-manager
Click on Google APIs
View All > Social > Google+ API > Enable > Create
Project name: Example Login
Project ID: example-login
Organization: example.com
Create > Enable > Create credentials
Which API are you using?: Google+ API
Where will you be calling the API from?: Web server (e.g. node.js, Tomcat)
What data will you be accessing?. (x) User data
What credentials do I need?
Create an OAuth 2.0 client ID
Name: Web client 1
Authorized JavaScript origins: https://example.com
Authorized redirect URIs: https://example.com/community/auth/google/callback
Create client ID
Set up the OAuth 2.0 consent screen
Email address: [email protected]
Product name shown to users: Example Login
More customization options
Homepage URL: https://example.com
Product logo URL: https://example.com/content/images/logo-120x120.png
Privacy policy URL: https://example.com/privacy/
Continue > Download credentials > Download > Done
Web client 1
Client ID: (...)
Client secret: (...)
Creation date: (...)
And finally to the NodeBB plugin:
NodeBB Admin > Social Authentication > Google
Enter Client ID, Secret
[yes] Skip email verification for people who register using SSO?
Save
Reload NodeBB
Tested, it works well.