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:
Click on Google APIs
View All > Social > Google+ API > Enable > Create
Project name: Example Login
Project ID: example-login
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 redirect URIs: https://example.com/community/auth/google/callback
Create client ID
Set up the OAuth 2.0 consent screen
Email address: firstname.lastname@example.org
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
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?
Tested, it works well.
hi, first of all, I love this forum software. Good job and sharing.
Currently, I'm trying to learn how to write plugins. I have read around and understand that the frontend is using jquery. However, imo, jquery is "dirty" due to DOM manipulation and thus difficult to maintenance.
I am wondering if there is any basic example on plugin that uses angularjs framework? If yes, can you please point me to it.
Thanks in advance!