OAuth Provider Configuration

pimentaCHAT supports several different ways to authenticate, beyond the basic username/password authentication. Most of these authentication providers require a clientID and a secret. Below are brief descriptions of how to set up each provider.

These settings are in the Accounts setting page under Administration.


  • Callback url: <<website_url>>/_oauth/facebook?close


  • Callback url: <<website_url>>/_oauth/github?close

GitHub Setup

Go to your Application Settings, and under the “Developer applications” tab, click the “Register new application” button. Fill in the form, taking care to make sure you use the correct callback url. Note: If your callback url is wrong, GitHub will not display an error, instead you will fail to log in with a “No matching login attempt found.” error.



  • Callback url: <<website_url>>/_oauth/google?close

Google Setup

Go to the Google Developer Console and create a new project. Setup your project by creating an “OAuth 2.0 client ID” (under “APIs & auth” and “Credentials”). After that, make sure you setup a “Product name” in the OAuth consent screen. Make sure to select Web App as application type. Otherwise you won’t be able to provide a callback URL


  • Callback url: <<website_url>>/_oauth/linkedin




  • Callback url: <<website_url>>/_oauth/twitter