Page 1 of 1

How to make GAuth 2.0 work with OrangeHRMS 4.3.4

Posted: Wed Jan 15, 2020 6:56 am
by vivek.khare

I have deployed OrangeHRM 4.3.4 on CentOS and trying to integrate Google Auth 2.0 with it but failing.
I can see OpenID & Google+ under Admin-->Configure Social Media Authentication while Google+ is deprecated 1 year back.
I still entered possible details like Redirect Url, Client ID, Client Secret & Developer Key (Though Google Auth does not have Developer key option for GAuth 2.0, it was in Google+)

Now when I see the login screen and select Google Authentication, it keeps redirecting me to login page only.
I need help to authenticate users through Google Auth 2.0, please help


Re: How to make GAuth 2.0 work with OrangeHRMS 4.3.4

Posted: Thu Jan 23, 2020 12:03 pm
by damithk
Hi Vivek,

I am not sure what are you referring to 'GAuth 2'. Couldn't find any resources on that.
Anyway OrangeHRM product has done some changes related to G+ Authentication in version 4.3.1
As you are already have version 4.3.4, those changes are included in your instance.


Re: How to make GAuth 2.0 work with OrangeHRMS 4.3.4

Posted: Mon Jan 27, 2020 4:30 am
by vivek.khare
Hi Damith,

G+ Authentication is deprecated by Google last year itself and now only Google Authentication (also known as GAuth 2.0) is available while OrangeHRM option (Admin-->Configure Social Media Authentication) is showing only G+ authentication problem.
Can you help me integrate OrangeHRM with Google Authentication.


Re: How to make GAuth 2.0 work with OrangeHRMS 4.3.4

Posted: Tue Feb 11, 2020 5:35 am
by kavitha
Hi Vivek

Choose Google+ to configure with Google authentication. This will be renamed in our next release.

Please add the details for following parameters.

Name *
Redirect Url *
Client Id *
Client Secret *
Developer Key *

Please refer to the following guidelines..
You have to go to Google Developers Console (
Create a new Project
Click the Create button and wait for the project to be created.
Select your newly created Project from the Projects drop-down at the top.
Go to “Credentials” In the left sidebar under "APIs & Services"
Create OAuth Client ID Credentials
Configure Consent Screen
Application Name - Name of the Instance Domain Name - Eg:- Support Email - Eg:
Note: Don't edit Application Homepage Link. We need to add Authorized domains and Application Name only and save
In the Application type section of the dialog, select Web application
Give the Authorized redirect URI field value as ; /openidauth/openIdCredentials (example:
Click the Create button.
A pop up “OAuth client “ will appear.
Copy the Client id
Copy the Client Secret
Click OK
Select “Create API Key”
Copy the "API Key" from the “API key created “ pop up