@psychobunny *Now we can watch Twitch Plays Pokemon on our forum!
$ npm install nodebb-plugin-sso-google
Activate the plugin, restart NodeBB, enter in the API credentials, and restart again for good measure.
There seems to be an issue with this and the Google Developer Console, the callback URL is no longer
Or am I doing something wrong? The instructions on the plugin should be updated.
For example: https://community.ag-aus.org/login
I got 401 error with Google.401.
That’s an error.
no application name
Twitter and Facebook are working fine for me.
It looks like you're already using OAuth so I assume this won't affect the plugin?
I can not understand the reason for this error:
Error: invalid_client The OAuth client was not found. Request Details scope=https://www.googleapis.com/auth/userinfo.profile https://www.googleapis.com/auth/userinfo.email response_type=code redirect_uri=https://example.com/auth/google/callback client_id= 174957913510-88rfl4p89j2divmjspgirnqgpr3ccbbm.apps.
Client created all the required information he has
url correctly set in
Do you have the Google+ API enabled via your Google Apps Console?
This API is enabled:
BigQuery API Cloud Debugger API Debuglet Controller API Google Cloud Logging API Google Cloud SQL Google Cloud Storage Google Cloud Storage JSON API Google+ API
I could be wrong, but I have all the settings are correct
P.S. i use:
sso plugin: https://github.com/julianlam/nodebb-plugin-sso-google
I created a new project in the Google Apps Console. Now everything is working. Probably somewhere I did was wrong
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:
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.