Some setup you must do manually if you haven't yet:

1. Ensure you have overridden or uncommented the routes for generated omniauth callback controllers in your routes.rb.
   For example:

   Rails.application.routes.draw do
     devise_for :users, controllers: {
       omniauth_callbacks: "users/omniauth_callbacks"
     }
   end

2. Update the devise github omniauth APP_ID and APP_SECRET in "config/initializers/devise.rb"
   after registering the Rails application on: https://github.com/settings/applications/new
   For example:

   config.omniauth :github, "APP_ID", "APP_SECRET"

3. Your omniauth callback URL will be: `<host>/users/auth/github/callback`. Please update
   callback URL in Github after registering your omniauth application.