Configuring Google as an OAuth Provider in PHPKB Knowledge Base Software is a process that enables users to log in to PHPKB using their Google credentials. This can be a convenient and secure way for users to access the system, as it eliminates the need for separate login credentials and ensures that users are authenticated by a trusted third party.
In this tutorial, you will learn how to configure Google as OAuth Provider with PHPKB OAuth plugin.
PHPKB OAuth Authentication Plugin
The OAuth 2.0 authentication plugin enables users to log in using their Google, Microsoft, Facebook, or any other account via buttons on the login page of your knowledge base.
Interested to buy this plugin? Contact Us for Licensing & Pricing.
To configure Google as an OAuth Provider in PHPKB, follow these steps:
Extract the package (that you received after purchasing this plugin), copy all the files & folders, and paste them at their respective locations under the installation directory of PHPKB Knowledge Management Software on your server. There is a new folder, called ‘add-ons’ (applicable to PHPKB v9.0), copy that and put it directly under the root folder (i.e. outside /admin/ folder) of the PHPKB package.
Google Endpoints and Scope:
Scope | openid email |
Authorize Endpoint | https://accounts.google.com/o/oauth2/auth |
Access Token Endpoint | https://www.googleapis.com/oauth2/v4/token |
Get User Info Endpoint | https://www.googleapis.com/oauth2/v1/userinfo |
Grant Type | Authorization Code |
That’s all! By following these steps, you can configure Google as an OAuth Provider in PHPKB, providing users with a convenient and secure way to access the system.
Article ID: 265
Created: March 17, 2021
Last Updated: February 28, 2023
Author: Palwinder Singh [singh@phpkb.com]
Online URL: https://www.phpkb.com/kb/article/configuring-google-as-an-oauth-provider-in-phpkb-265.html