This plugin allows to authenticate users against Google Apps OAuth2 API. Once installed
and properly configured, it will start redirecting to Google consent page. After consent
has been obtained, user is automatically created in WordPress database.
- Upload
google-oauth.php
to the /wp-content/plugins/
directory
- Activate the plugin through the 'Plugins' menu in WordPress
- Log in to Google App Cloud Console with administrative privileges and setup the app for\
OAuth2 authentication (https://developers.google.com/accounts/docs/OAuth2Login).
It will require you to provide redirect URLs - http URL is available at the plugin settings page,
and you’ll need another one for HTTPS (same URL, just starting with https://).
After all that is done, Google will provide Client ID and Client Secret values you’ll
need to copy-paste into respective fields on the plugin settings page and set the Allowed Domain.