I am in the process of replacing Devise Database Authenticatable with Devise Omniauthable and using the GitHub OAuth strategy. I'd like the GitHub OAuth sign in option to be the only one available.
I successfully got all this working on my local development environment. The problem I'm facing is to continue developing additional functionality on my local development environment after the OAuth functionality is launched on the production site. At that point I'd have to change the Authorization callback URL setting from the current http://localhost:5300/users/auth/github/callback to the actual url to the registered GitHub application.
Obviously, at that point the GitHub OAuth on my local machine will stop working.
I searched everywhere to see how this could be solved but no luck.