Setup Github for Drupal OAuth Client

miniOrange Drupal OAuth/OpenID module gives the ability to enable OAuth/OpenID Single Sign On for Drupal site. Drupal OAuth Client module is compatible with all OAuth/OpenID Providers. Here we will go through a guide to configure SSO between Drupal and Github. By the end of this guide, Github users should be able to login and register to Drupal site.
If you have any doubts or queries you can contact us at We will help you to configure the module.

Step 1: Configure GitHub as an OAuth server

  • Go to and Login/Sign up to your GitHub account.
  • You will be presented with the following screen. Click on Register a new application.
  • Create New Applivation
  • Enter the application name, Drupal homepage URL. Copy the Callback/Redirect URL from your miniOrange OAuth Client module and paste it under the Authorization callback URL field. Click on Register Application.
  • Register New Application
  • After registration, you will be given Client ID and Client Secret, copy them. You’ll need them in the next step.
  • Client Credentials
    Scope: user repo
    Authorize EndPoint:
    Access Token Endpoint:
    Get User Info Endpoint: